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
ca448df0
Commit
ca448df0
authored
Jan 24, 2014
by
Pascal Hartig
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Angular-Perf: Upgrade to AngularJS 1.2.9
parent
c5c1a78d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
30 additions
and
24 deletions
+30
-24
architecture-examples/angularjs-perf/bower.json
architecture-examples/angularjs-perf/bower.json
+1
-1
architecture-examples/angularjs-perf/bower_components/angular/angular.js
...amples/angularjs-perf/bower_components/angular/angular.js
+29
-23
No files found.
architecture-examples/angularjs-perf/bower.json
View file @
ca448df0
...
...
@@ -2,7 +2,7 @@
"name"
:
"todomvc-angular-perf"
,
"version"
:
"0.0.0"
,
"dependencies"
:
{
"angular"
:
"1.2.
8
"
,
"angular"
:
"1.2.
9
"
,
"todomvc-common"
:
"~0.1.9"
}
}
architecture-examples/angularjs-perf/bower_components/angular/angular.js
View file @
ca448df0
/**
* @license AngularJS v1.2.
8
* @license AngularJS v1.2.
9
* (c) 2010-2014 Google, Inc. http://angularjs.org
* License: MIT
*/
...
...
@@ -68,7 +68,7 @@ function minErr(module) {
return
match
;
});
message
=
message
+
'
\n
http://errors.angularjs.org/1.2.
8
/
'
+
message
=
message
+
'
\n
http://errors.angularjs.org/1.2.
9
/
'
+
(
module
?
module
+
'
/
'
:
''
)
+
code
;
for
(
i
=
2
;
i
<
arguments
.
length
;
i
++
)
{
message
=
message
+
(
i
==
2
?
'
?
'
:
'
&
'
)
+
'
p
'
+
(
i
-
2
)
+
'
=
'
+
...
...
@@ -271,7 +271,8 @@ function isArrayLike(obj) {
* is the value of an object property or an array element and `key` is the object property key or
* array element index. Specifying a `context` for the function is optional.
*
* Note: this function was previously known as `angular.foreach`.
* It is worth nothing that `.forEach` does not iterate over inherited properties because it filters
* using the `hasOwnProperty` method.
*
<pre>
var values = {name: 'misko', gender: 'male'};
...
...
@@ -1833,11 +1834,11 @@ function setupModuleLoader(window) {
* - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat".
*/
var
version
=
{
full
:
'
1.2.
8
'
,
// all of these placeholder strings will be replaced by grunt's
full
:
'
1.2.
9
'
,
// all of these placeholder strings will be replaced by grunt's
major
:
1
,
// package task
minor
:
2
,
dot
:
8
,
codeName
:
'
interdimensional-cartograph
y
'
dot
:
9
,
codeName
:
'
enchanted-articulac
y
'
};
...
...
@@ -3399,7 +3400,7 @@ function annotate(fn) {
* constructor function that will be used to instantiate the service instance.
*
* You should use {@link AUTO.$provide#methods_service $provide.service(class)} if you define your service
* as a type/class.
This is common when using {@link http://coffeescript.org CoffeeScript}.
* as a type/class.
*
* @param {string} name The name of the instance.
* @param {Function} constructor A class (constructor function) that will be instantiated.
...
...
@@ -3407,20 +3408,25 @@ function annotate(fn) {
*
* @example
* Here is an example of registering a service using
* {@link AUTO.$provide#methods_service $provide.service(class)}
that is defined as a CoffeeScript class
.
* {@link AUTO.$provide#methods_service $provide.service(class)}.
* <pre>
* class Ping
* constructor: (@$http) ->
* send: () =>
* @$http.get('/ping')
*
* $provide.service('ping', ['$http', Ping])
* $provide.service('ping', ['$http', function($http) {
* var Ping = function() {
* this.$http = $http;
* };
*
* Ping.prototype.send = function() {
* return this.$http.get('/ping');
* };
*
* return Ping;
* }]);
* </pre>
* You would then inject and use this service like this:
* <pre>
* someModule.controller
'Ctrl', ['ping', (ping) ->
* ping.send()
*
]
* someModule.controller
('Ctrl', ['ping', function(ping) {
* ping.send()
;
*
}]);
* </pre>
*/
...
...
@@ -6945,9 +6951,9 @@ function $HttpProvider() {
common
:
{
'
Accept
'
:
'
application/json, text/plain, */*
'
},
post
:
CONTENT_TYPE_APPLICATION_JSON
,
put
:
CONTENT_TYPE_APPLICATION_JSON
,
patch
:
CONTENT_TYPE_APPLICATION_JSON
post
:
copy
(
CONTENT_TYPE_APPLICATION_JSON
)
,
put
:
copy
(
CONTENT_TYPE_APPLICATION_JSON
)
,
patch
:
copy
(
CONTENT_TYPE_APPLICATION_JSON
)
},
xsrfCookieName
:
'
XSRF-TOKEN
'
,
...
...
@@ -7158,7 +7164,7 @@ function $HttpProvider() {
* to `push` or `unshift` a new transformation function into the transformation chain. You can
* also decide to completely override any default transformations by assigning your
* transformation functions to these properties directly without the array wrapper. These defaults
* are again available on the $http factory at run-time, which may be useful if you have run-time
* are again available on the $http factory at run-time, which may be useful if you have run-time
* services you wish to be involved in your transformations.
*
* Similarly, to locally override the request/response transforms, augment the
...
...
@@ -11836,7 +11842,7 @@ function $RootScopeProvider(){
// `break traverseScopesLoop;` takes us to here
if
(
dirty
&&
!
(
ttl
--
))
{
if
(
(
dirty
||
asyncQueue
.
length
)
&&
!
(
ttl
--
))
{
clearPhase
();
throw
$rootScopeMinErr
(
'
infdig
'
,
'
{0} $digest() iterations reached. Aborting!
\n
'
+
...
...
@@ -12687,7 +12693,7 @@ function $SceDelegateProvider() {
*
* @param {*} value The result of a prior {@link ng.$sceDelegate#methods_trustAs `$sceDelegate.trustAs`}
* call or anything else.
* @returns {*} The
value the
was originally provided to {@link ng.$sceDelegate#methods_trustAs
* @returns {*} The
`value` that
was originally provided to {@link ng.$sceDelegate#methods_trustAs
* `$sceDelegate.trustAs`} if `value` is the result of such a call. Otherwise, returns
* `value` unchanged.
*/
...
...
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