mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-19 21:13:28 -07:00
updated js libraries,
require, jquery, backbone shortcuts backbone modelbinder
This commit is contained in:
parent
33aad6e8ef
commit
98df1be981
4 changed files with 9699 additions and 9679 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue