Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
coopwire-hypothesis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
孙灵跃 Leon Sun
coopwire-hypothesis
Commits
4f1dd1ef
Commit
4f1dd1ef
authored
Sep 25, 2014
by
Randall Leeds
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Upgrade AngularJS libs
parent
3e830f4f
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
216 additions
and
105 deletions
+216
-105
angular-animate.js
h/static/scripts/vendor/angular-animate.js
+1
-1
angular-mocks.js
h/static/scripts/vendor/angular-mocks.js
+5
-1
angular-resource.js
h/static/scripts/vendor/angular-resource.js
+7
-1
angular-route.js
h/static/scripts/vendor/angular-route.js
+1
-2
angular-sanitize.js
h/static/scripts/vendor/angular-sanitize.js
+2
-2
angular.js
h/static/scripts/vendor/angular.js
+200
-98
No files found.
h/static/scripts/vendor/angular-animate.js
View file @
4f1dd1ef
/**
* @license AngularJS v1.2.2
2
* @license AngularJS v1.2.2
5
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
...
...
h/static/scripts/vendor/angular-mocks.js
View file @
4f1dd1ef
/**
* @license AngularJS v1.2.2
2
* @license AngularJS v1.2.2
5
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
...
...
@@ -63,6 +63,8 @@ angular.mock.$Browser = function() {
return
listener
;
};
self
.
$$checkUrlChange
=
angular
.
noop
;
self
.
cookieHash
=
{};
self
.
lastCookieHash
=
{};
self
.
deferredFns
=
[];
...
...
@@ -2003,6 +2005,7 @@ if(window.jasmine || window.mocha) {
* @description
*
* *NOTE*: This function is also published on window for easy access.<br>
* *NOTE*: This function is declared ONLY WHEN running tests with jasmine or mocha
*
* This function registers a module configuration code. It collects the configuration information
* which will be used when the injector is created by {@link angular.mock.inject inject}.
...
...
@@ -2045,6 +2048,7 @@ if(window.jasmine || window.mocha) {
* @description
*
* *NOTE*: This function is also published on window for easy access.<br>
* *NOTE*: This function is declared ONLY WHEN running tests with jasmine or mocha
*
* The inject function wraps a function into an injectable function. The inject() creates new
* instance of {@link auto.$injector $injector} per test, which is then used for
...
...
h/static/scripts/vendor/angular-resource.js
View file @
4f1dd1ef
/**
* @license AngularJS v1.2.2
2
* @license AngularJS v1.2.2
5
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
...
...
@@ -129,10 +129,16 @@ function shallowClearAndCopy(src, dst) {
* `{function(data, headersGetter)|Array.<function(data, headersGetter)>}` –
* transform function or an array of such functions. The transform function takes the http
* request body and headers and returns its transformed (typically serialized) version.
* By default, transformRequest will contain one function that checks if the request data is
* an object and serializes to using `angular.toJson`. To prevent this behavior, set
* `transformRequest` to an empty array: `transformRequest: []`
* - **`transformResponse`** –
* `{function(data, headersGetter)|Array.<function(data, headersGetter)>}` –
* transform function or an array of such functions. The transform function takes the http
* response body and headers and returns its transformed (typically deserialized) version.
* By default, transformResponse will contain one function that checks if the response looks like
* a JSON string and deserializes it using `angular.fromJson`. To prevent this behavior, set
* `transformResponse` to an empty array: `transformResponse: []`
* - **`cache`** – `{boolean|Cache}` – If true, a default $http cache will be used to cache the
* GET request, otherwise if a cache instance built with
* {@link ng.$cacheFactory $cacheFactory}, this cache will be used for
...
...
h/static/scripts/vendor/angular-route.js
View file @
4f1dd1ef
/**
* @license AngularJS v1.2.2
2
* @license AngularJS v1.2.2
5
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
...
...
@@ -771,7 +771,6 @@ ngRouteModule.directive('ngView', ngViewFillContentFactory);
controllerAs: 'chapter'
});
// configure html5 to get links working on jsfiddle
$locationProvider.html5Mode(true);
}])
.controller('MainCtrl', ['$route', '$routeParams', '$location',
...
...
h/static/scripts/vendor/angular-sanitize.js
View file @
4f1dd1ef
/**
* @license AngularJS v1.2.2
2
* @license AngularJS v1.2.2
5
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
...
...
@@ -597,7 +597,7 @@ angular.module('ngSanitize', []).provider('$sanitize', $SanitizeProvider);
*/
angular
.
module
(
'ngSanitize'
).
filter
(
'linky'
,
[
'$sanitize'
,
function
(
$sanitize
)
{
var
LINKY_URL_REGEXP
=
/
((
ftp|https
?)
:
\/\/
|
(
mailto:
)?[
A-Za-z0-9._%+-
]
+@
)\S
*
[^\s
.;,(){}<>
]
/
,
/
((
ftp|https
?)
:
\/\/
|
(
mailto:
)?[
A-Za-z0-9._%+-
]
+@
)\S
*
[^\s
.;,(){}<>
"
]
/
,
MAILTO_REGEXP
=
/^mailto:/
;
return
function
(
text
,
target
)
{
...
...
h/static/scripts/vendor/angular.js
View file @
4f1dd1ef
This diff is collapsed.
Click to expand it.
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