Files
es6-backbone/src/index.js
2017-11-02 15:47:14 +05:30

19 lines
329 B
JavaScript

import Backbone from 'backbone';
import TestView from './view';
import _ from 'underscore';
import Http from './http';
Backbone.history.start();
class Index {
constructor() {
Http.config = {
baseURL: 'http://demo1393194.mockable.io/'
};
new TestView(); //MainView
}
}
new Index();