Skip to content

Commit 737888b

Browse files
authored
CoreObject 1.x and 2.x compat
1 parent 0f7120b commit 737888b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ module.exports = {
44
name: 'Ember CLI ic-ajax',
55

66
init: function(name) {
7+
this._super.init && this._super.init.apply(this, arguments);
8+
79
var assets_path = require('path').join('ic-ajax','dist','cjs','main.js');
810
this.treePaths['vendor'] = require.resolve('ic-ajax').replace(assets_path, '');
911
},

0 commit comments

Comments
 (0)