diff options
author | Indrajith K L | 2017-11-02 15:47:14 +0530 |
---|---|---|
committer | Indrajith K L | 2017-11-02 15:47:14 +0530 |
commit | a7ccf2688f90f28754b8c61fa0b712d6465d2796 (patch) | |
tree | 7c1d7aa19a9ab5349078b0a84e7d4b6e588d2de5 /src/index.js | |
parent | 70a7e6c3c2019346ea8ad5c52feb464efa0531e5 (diff) | |
download | es6-backbone-a7ccf2688f90f28754b8c61fa0b712d6465d2796.tar.gz es6-backbone-a7ccf2688f90f28754b8c61fa0b712d6465d2796.tar.bz2 es6-backbone-a7ccf2688f90f28754b8c61fa0b712d6465d2796.zip |
HTTP - Axios integrated
Diffstat (limited to 'src/index.js')
-rw-r--r-- | src/index.js | 7 |
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 + } } |