vendor/assets/javascripts/angular-mocks.js in angular-gem-1.2.0.1 vs vendor/assets/javascripts/angular-mocks.js in angular-gem-1.2.1
- old
+ new
@@ -1,9 +1,9 @@
'use strict';
/**
- * @license AngularJS v1.2.0
+ * @license AngularJS v1.2.1
* (c) 2010-2012 Google, Inc. http://angularjs.org
* License: MIT
*
* TODO(vojta): wrap whole file into closure during build
*/
@@ -1657,25 +1657,10 @@
$browser.defer.flush(delay);
};
/**
* @ngdoc method
- * @name ngMock.$timeout#flushNext
- * @methodOf ngMock.$timeout
- * @description
- *
- * Flushes the next timeout in the queue and compares it to the provided delay
- *
- * @param {number=} expectedDelay the delay value that will be asserted against the delay of the
- * next timeout function
- */
- $delegate.flushNext = function(expectedDelay) {
- $browser.defer.flushNext(expectedDelay);
- };
-
- /**
- * @ngdoc method
* @name ngMock.$timeout#verifyNoPendingTasks
* @methodOf ngMock.$timeout
* @description
*
* Verifies that there are no pending tasks that need to be flushed.
@@ -2125,6 +2110,6 @@
errorForStack = null;
}
}
}
};
-})(window);
\ No newline at end of file
+})(window);