updated js libraries,

require,
jquery,
backbone shortcuts
backbone modelbinder
This commit is contained in:
kay.one 2013-04-20 17:07:13 -07:00
commit 98df1be981
4 changed files with 9699 additions and 9679 deletions

View file

@ -16,8 +16,13 @@
_results = [];
for (shortcut in _ref) {
callback = _ref[shortcut];
if (!_.isFunction(callback)) method = this[callback];
if (!method) throw new Error("Method " + callback + " does not exist");
if (!_.isFunction(callback)){
method = this[callback];
if (!method) throw new Error("Method " + callback + " does not exist");
}
else {
method = callback;
}
match = shortcut.match(/^(\S+)\s*(.*)$/);
shortcutKey = match[1];
scope = match[2] === "" ? "all" : match[2];