Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
todomvc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Sven Franck
todomvc
Commits
6533ae6b
Commit
6533ae6b
authored
Apr 23, 2014
by
Pascal Hartig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Backbone: Update Backbone, jQuery
parent
35fe2471
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
architecture-examples/backbone/bower_components/backbone/backbone.js
...e-examples/backbone/bower_components/backbone/backbone.js
+6
-7
architecture-examples/backbone/bower_components/jquery/jquery.js
...cture-examples/backbone/bower_components/jquery/jquery.js
+0
-0
No files found.
architecture-examples/backbone/bower_components/backbone/backbone.js
View file @
6533ae6b
// Backbone.js 1.1.
1
// Backbone.js 1.1.
2
// (c) 2010-2014 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors
// Backbone may be freely distributed under the MIT license.
...
...
@@ -17,9 +17,8 @@
// Next for Node.js or CommonJS. jQuery may not be needed as a module.
}
else
if
(
typeof
exports
!==
'
undefined
'
)
{
var
_
=
require
(
'
underscore
'
),
$
;
try
{
$
=
require
(
'
jquery
'
);
}
catch
(
e
)
{}
factory
(
root
,
exports
,
_
,
$
);
var
_
=
require
(
'
underscore
'
);
factory
(
root
,
exports
,
_
);
// Finally, as a browser global.
}
else
{
...
...
@@ -42,7 +41,7 @@
var
splice
=
array
.
splice
;
// Current version of the library. Keep in sync with `package.json`.
Backbone
.
VERSION
=
'
1.1.
1
'
;
Backbone
.
VERSION
=
'
1.1.
2
'
;
// For Backbone's purposes, jQuery, Zepto, Ender, or My Library (kidding) owns
// the `$` variable.
...
...
@@ -1293,7 +1292,7 @@
return
optional
?
match
:
'
([^/?]+)
'
;
})
.
replace
(
splatParam
,
'
([^?]*?)
'
);
return
new
RegExp
(
'
^
'
+
route
+
'
(?:
\\
?(
.
*))?$
'
);
return
new
RegExp
(
'
^
'
+
route
+
'
(?:
\\
?(
[
\\
s
\\
S]
*))?$
'
);
},
// Given a route, and a URL fragment that it matches, return the array of
...
...
@@ -1450,7 +1449,7 @@
// but possibly useful for unit testing Routers.
stop
:
function
()
{
Backbone
.
$
(
window
).
off
(
'
popstate
'
,
this
.
checkUrl
).
off
(
'
hashchange
'
,
this
.
checkUrl
);
clearInterval
(
this
.
_checkUrlInterval
);
if
(
this
.
_checkUrlInterval
)
clearInterval
(
this
.
_checkUrlInterval
);
History
.
started
=
false
;
},
...
...
architecture-examples/backbone/bower_components/jquery/jquery.js
100644 → 100755
View file @
6533ae6b
File mode changed from 100644 to 100755
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment