@@ -40231,7 +40231,7 @@ CodeMirror.defineMIME("text/x-yaml", "yaml");
4023140231})();
4023240232
4023340233/**
40234- * @license AngularJS v1.2.29-build.590+sha.e81b2f7
40234+ * @license AngularJS v1.2.28
4023540235 * (c) 2010-2014 Google, Inc. http://angularjs.org
4023640236 * License: MIT
4023740237 */
@@ -40300,7 +40300,7 @@ function minErr(module) {
4030040300 return match;
4030140301 });
4030240302
40303- message = message + '\nhttp://errors.angularjs.org/1.2.29-build.590+sha.e81b2f7 /' +
40303+ message = message + '\nhttp://errors.angularjs.org/1.2.28 /' +
4030440304 (module ? module + '/' : '') + code;
4030540305 for (i = 2; i < arguments.length; i++) {
4030640306 message = message + (i == 2 ? '?' : '&') + 'p' + (i-2) + '=' +
@@ -40714,8 +40714,6 @@ noop.$inject = [];
4071440714 return (transformationFn || angular.identity)(value);
4071540715 };
4071640716 ```
40717- * @param {*} value to be returned.
40718- * @returns {*} the value passed in.
4071940717 */
4072040718function identity($) {return $;}
4072140719identity.$inject = [];
@@ -42221,11 +42219,11 @@ function setupModuleLoader(window) {
4222142219 * - `codeName` – `{string}` – Code name of the release, such as "jiggling-armfat".
4222242220 */
4222342221var version = {
42224- full: '1.2.29-build.590+sha.e81b2f7 ', // all of these placeholder strings will be replaced by grunt's
42222+ full: '1.2.28 ', // all of these placeholder strings will be replaced by grunt's
4222542223 major: 1, // package task
4222642224 minor: 2,
42227- dot: 29 ,
42228- codeName: 'snapshot '
42225+ dot: 28 ,
42226+ codeName: 'finnish-disembarkation '
4222942227};
4223042228
4223142229
@@ -44657,11 +44655,6 @@ function Browser(window, document, $log, $sniffer) {
4465744655 }
4465844656 }
4465944657
44660- function getHash(url) {
44661- var index = url.indexOf('#');
44662- return index === -1 ? '' : url.substr(index + 1);
44663- }
44664-
4466544658 /**
4466644659 * @private
4466744660 * Note: this method is used only by scenario runner
@@ -44773,10 +44766,8 @@ function Browser(window, document, $log, $sniffer) {
4477344766 }
4477444767 if (replace) {
4477544768 location.replace(url);
44776- } else if (!sameBase) {
44777- location.href = url;
4477844769 } else {
44779- location.hash = getHash( url) ;
44770+ location.href = url;
4478044771 }
4478144772 }
4478244773 return self;
@@ -49531,10 +49522,6 @@ function stripHash(url) {
4953149522 return index == -1 ? url : url.substr(0, index);
4953249523}
4953349524
49534- function trimEmptyHash(url) {
49535- return url.replace(/(#.+)|#$/, '$1');
49536- }
49537-
4953849525
4953949526function stripFile(url) {
4954049527 return url.substr(0, stripHash(url).lastIndexOf('/') + 1);
@@ -50191,11 +50178,10 @@ function $LocationProvider(){
5019150178 // update browser
5019250179 var changeCounter = 0;
5019350180 $rootScope.$watch(function $locationWatch() {
50194- var oldUrl = trimEmptyHash($browser.url());
50195- var newUrl = trimEmptyHash($location.absUrl());
50181+ var oldUrl = $browser.url();
5019650182 var currentReplace = $location.$$replace;
5019750183
50198- if (!changeCounter || oldUrl != newUrl ) {
50184+ if (!changeCounter || oldUrl != $location.absUrl() ) {
5019950185 changeCounter++;
5020050186 $rootScope.$evalAsync(function() {
5020150187 if ($rootScope.$broadcast('$locationChangeStart', $location.absUrl(), oldUrl).
@@ -55794,12 +55780,37 @@ function limitToFilter(){
5579455780 limit = int(limit);
5579555781 }
5579655782
55797- //NaN check on limit
55798- if (limit) {
55799- return limit > 0 ? input.slice(0, limit) : input.slice(limit);
55783+ if (isString(input)) {
55784+ //NaN check on limit
55785+ if (limit) {
55786+ return limit >= 0 ? input.slice(0, limit) : input.slice(limit, input.length);
55787+ } else {
55788+ return "";
55789+ }
55790+ }
55791+
55792+ var out = [],
55793+ i, n;
55794+
55795+ // if abs(limit) exceeds maximum length, trim it
55796+ if (limit > input.length)
55797+ limit = input.length;
55798+ else if (limit < -input.length)
55799+ limit = -input.length;
55800+
55801+ if (limit > 0) {
55802+ i = 0;
55803+ n = limit;
5580055804 } else {
55801- return isString(input) ? "" : [];
55805+ i = input.length + limit;
55806+ n = input.length;
5580255807 }
55808+
55809+ for (; i<n; i++) {
55810+ out.push(input[i]);
55811+ }
55812+
55813+ return out;
5580355814 };
5580455815}
5580555816
@@ -60072,7 +60083,7 @@ var ngIfDirective = ['$animate', function($animate) {
6007260083 <select ng-model="template" ng-options="t.name for t in templates">
6007360084 <option value="">(blank)</option>
6007460085 </select>
60075- url of the template: <code >{{template.url}}</code >
60086+ url of the template: <tt >{{template.url}}</tt >
6007660087 <hr/>
6007760088 <div class="slide-animate-container">
6007860089 <div class="slide-animate" ng-include="template.url"></div>
0 commit comments