Merge pull request #18 from Infowatch/master
proper commonjs; upgrade deps
This commit is contained in:
commit
a839b0907b
@ -15,7 +15,10 @@
|
|||||||
define(["underscore", "backbone"], factory);
|
define(["underscore", "backbone"], factory);
|
||||||
} else if (typeof exports !== 'undefined') {
|
} else if (typeof exports !== 'undefined') {
|
||||||
// CommonJS support
|
// CommonJS support
|
||||||
module.exports = factory;
|
module.exports = factory(
|
||||||
|
require("underscore"),
|
||||||
|
require("backbone")
|
||||||
|
);
|
||||||
} else {
|
} else {
|
||||||
// Non-modular execution
|
// Non-modular execution
|
||||||
factory(_, Backbone);
|
factory(_, Backbone);
|
||||||
@ -825,6 +828,6 @@
|
|||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|
||||||
Backbone.UndoManager = UndoManager;
|
return Backbone.UndoManager = UndoManager;
|
||||||
|
|
||||||
});
|
});
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "Backbone.Undo.js",
|
"name": "Backbone.Undo.js",
|
||||||
|
"version": "0.2.5",
|
||||||
"main": "Backbone.Undo.js",
|
"main": "Backbone.Undo.js",
|
||||||
"license": "MIT license",
|
"license": "MIT license",
|
||||||
"homepage": "http://backbone.undojs.com/",
|
"homepage": "http://backbone.undojs.com/",
|
||||||
@ -14,8 +15,8 @@
|
|||||||
"Backbone", "undo"
|
"Backbone", "undo"
|
||||||
],
|
],
|
||||||
"dependencies" :{
|
"dependencies" :{
|
||||||
"underscore": "~1.4.4",
|
"underscore": "1.4.4 - 1.8.3",
|
||||||
"backbone": "~1.0.0"
|
"backbone": "1.0.0 - 1.2.1"
|
||||||
},
|
},
|
||||||
"ignore": [
|
"ignore": [
|
||||||
"Tests",
|
"Tests",
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "backbone-undo",
|
"name": "backbone-undo",
|
||||||
"version": "0.2.3",
|
"version": "0.2.5",
|
||||||
"description": "A simple Backbone undo-manager for simple apps",
|
"description": "A simple Backbone undo-manager for simple apps",
|
||||||
"homepage": "http://backbone.undojs.com",
|
"homepage": "http://backbone.undojs.com",
|
||||||
"keywords": "backbone, undo",
|
"keywords": "backbone, undo",
|
||||||
@ -20,7 +20,7 @@
|
|||||||
"url": "https://github.com/osartun/Backbone.Undo.js/issues"
|
"url": "https://github.com/osartun/Backbone.Undo.js/issues"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"backbone": "~1.0.0",
|
"backbone": "1.0.0 - 1.2.1",
|
||||||
"underscore": "~1.4.4"
|
"underscore": "1.4.4 - 1.8.3"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user