aboutsummaryrefslogtreecommitdiff
path: root/src/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/index.js')
-rw-r--r--src/index.js7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/index.js b/src/index.js
index f29efc1..68c959b 100644
--- a/src/index.js
+++ b/src/index.js
@@ -1,12 +1,17 @@
import Backbone from 'backbone';
import TestView from './view';
import _ from 'underscore';
+import Http from './http';
Backbone.history.start();
class Index {
constructor() {
- new TestView();
+ Http.config = {
+ baseURL: 'http://demo1393194.mockable.io/'
+ };
+ new TestView(); //MainView
+
}
}