Skip to content

Commit d058b4d

Browse files
author
Hirav Gandhi
committed
Upgrade to 1.3.9 (closes #79)
1 parent 1c70a6f commit d058b4d

25 files changed

+13378
-13422
lines changed

lib/angularjs-rails/version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
module AngularJS
22
module Rails
3-
VERSION = "1.3.8"
4-
UNSTABLE_VERSION = "1.3.8"
3+
VERSION = "1.3.9"
4+
UNSTABLE_VERSION = "1.3.9"
55
end
66
end

vendor/assets/javascripts/angular-animate.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.3.8
2+
* @license AngularJS v1.3.9
33
* (c) 2010-2014 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

vendor/assets/javascripts/angular-aria.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.3.8
2+
* @license AngularJS v1.3.9
33
* (c) 2010-2014 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

vendor/assets/javascripts/angular-cookies.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.3.8
2+
* @license AngularJS v1.3.9
33
* (c) 2010-2014 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

vendor/assets/javascripts/angular-loader.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.3.8
2+
* @license AngularJS v1.3.9
33
* (c) 2010-2014 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/
@@ -55,7 +55,7 @@ function minErr(module, ErrorConstructor) {
5555
return match;
5656
});
5757

58-
message = message + '\nhttp://errors.angularjs.org/1.3.8/' +
58+
message = message + '\nhttp://errors.angularjs.org/1.3.9/' +
5959
(module ? module + '/' : '') + code;
6060
for (i = 2; i < arguments.length; i++) {
6161
message = message + (i == 2 ? '?' : '&') + 'p' + (i - 2) + '=' +

vendor/assets/javascripts/angular-messages.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.3.8
2+
* @license AngularJS v1.3.9
33
* (c) 2010-2014 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

vendor/assets/javascripts/angular-mocks.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.3.8
2+
* @license AngularJS v1.3.9
33
* (c) 2010-2014 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/
@@ -250,31 +250,31 @@ angular.mock.$ExceptionHandlerProvider = function() {
250250
*
251251
* @param {string} mode Mode of operation, defaults to `rethrow`.
252252
*
253-
* - `rethrow`: If any errors are passed to the handler in tests, it typically means that there
254-
* is a bug in the application or test, so this mock will make these tests fail.
255253
* - `log`: Sometimes it is desirable to test that an error is thrown, for this case the `log`
256254
* mode stores an array of errors in `$exceptionHandler.errors`, to allow later
257255
* assertion of them. See {@link ngMock.$log#assertEmpty assertEmpty()} and
258256
* {@link ngMock.$log#reset reset()}
257+
* - `rethrow`: If any errors are passed to the handler in tests, it typically means that there
258+
* is a bug in the application or test, so this mock will make these tests fail.
259+
* For any implementations that expect exceptions to be thrown, the `rethrow` mode
260+
* will also maintain a log of thrown errors.
259261
*/
260262
this.mode = function(mode) {
263+
261264
switch (mode) {
262-
case 'rethrow':
263-
handler = function(e) {
264-
throw e;
265-
};
266-
break;
267265
case 'log':
266+
case 'rethrow':
268267
var errors = [];
269-
270268
handler = function(e) {
271269
if (arguments.length == 1) {
272270
errors.push(e);
273271
} else {
274272
errors.push([].slice.call(arguments, 0));
275273
}
274+
if (mode === "rethrow") {
275+
throw e;
276+
}
276277
};
277-
278278
handler.errors = errors;
279279
break;
280280
default:

vendor/assets/javascripts/angular-resource.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.3.8
2+
* @license AngularJS v1.3.9
33
* (c) 2010-2014 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

vendor/assets/javascripts/angular-route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.3.8
2+
* @license AngularJS v1.3.9
33
* (c) 2010-2014 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

vendor/assets/javascripts/angular-sanitize.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* @license AngularJS v1.3.8
2+
* @license AngularJS v1.3.9
33
* (c) 2010-2014 Google, Inc. http://angularjs.org
44
* License: MIT
55
*/

0 commit comments

Comments
 (0)