-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
* Dropped jQuery and underscore dependencies. * Added Davy https://github.com/lvivski/davy for promises. * Exoskeleton is a no-deps backbone fork http://exosjs.com See bower.json for the main change you will need to do.
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,15 @@ | ||
Application = require 'application' | ||
routes = require 'routes' | ||
|
||
Backbone.Deferred = -> new window.Davy | ||
Backbone.resolveDeferred = (deferred, isResolved, args) -> | ||
deferred[if isResolved then 'fulfill' else 'reject'].apply deferred, args | ||
|
||
# Initialize the application on DOM ready event. | ||
$ -> | ||
document.addEventListener 'DOMContentLoaded', -> | ||
new Application { | ||
title: 'Ost.io', | ||
controllerSuffix: '-controller', | ||
routes | ||
} | ||
, false |
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,21 +8,21 @@ | |
"components" | ||
], | ||
"dependencies": { | ||
"chaplin": "~0.10.0", | ||
"chaplin": "~0.11.3", | ||
"console-polyfill": "~0.1.0", | ||
"lodash": "~1.3.1", | ||
"moment": "~2.0.0", | ||
"jquery": "~2.0.2", | ||
"normalize-css": "~2.1.2" | ||
"normalize-css": "~2.1.2", | ||
"exoskeleton": "~0.4.0", | ||
"davy": "~0.0.5" | ||
}, | ||
"overrides": { | ||
This comment has been minimized.
Sorry, something went wrong.
balupton
|
||
"backbone": { | ||
"chaplin": { | ||
"dependencies": { | ||
"lodash": "*", | ||
"jquery": "*" | ||
}, | ||
"main": "backbone.js" | ||
"exoskeleton": "*" | ||
} | ||
}, | ||
"moment": {"main": "moment.js"} | ||
"moment": { | ||
"main": "moment.js" | ||
} | ||
} | ||
} |
Check out commit 74299b5 for additional work total removal of jQuery.