aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-12-19fix($compile): remove invalid IE exceptional case for `href`Alexandre Potvin Latreille
It appears that this exceptional case was only valid for IE<8 and that for IE>=8 it was actually causing a bug with the `ng-href-attr` directive on `<a>` elements. Closes #5479
2013-12-19fix($parse): return 'undefined' if a middle key's value is nullCaitlin Potter
Prior to this fix, $parse/$eval would return 'null' if a middle key in an expression's value is null, when it should be expected to be undefined. This patch tries to remedy this by returning undefined for middle values in expressions, when fetching a child of that null value. For example: ```js // Given the following object: $scope.a = { b: null }; // $scope.$eval('a.b.c') returns undefined, whereas previously it would return null ``` Closes #5480
2013-12-18fix($log): should work in IE8Tobias Bosch
In IE8, reading `console.log.apply` throws an error. Catching this errow now. Fixes #5400. Fixes #5147.
2013-12-18fix(forEach): allow looping over result of querySelectorAll in IE8Tobias Bosch
In IE8 the result object of calling `node.querySelectorAll` does not have a `hasOwnPropery` function. However, it should be usable with `forEach`. Related to #5400.
2013-12-18docs(guide): fixed *off typo in angular.injector example commentZachary Babtkis
Closes #5441
2013-12-18fix($location): parse xlink:href for SVGAElementsCaitlin Potter
Before this fix, the xlink:href property of an SVG <a> element could not be parsed on click, as the property is an SVGAnimatedString rather than a DOMString. This patch parses the xlink:href's animVal into a DOMString in order to prevent an `Object #<SVGAnimatedString> has no method 'indexOf'` exception from being thrown, and also to update the location if necessary as expected. Closes #5472 Closes #5198 Closes #5199 Closes #4098 Closes #1420
2013-12-18fix(closure): add type definition for Scope#$watchCollectionoojerryoo
Closes #5475
2013-12-18perf($parse) use a faster path when the number of path parts is lowKarl Seamon
Use a faster path when the number of path tokens is low (ie the common case). This results in a better than 19x improvement in the time spent in $parse and produces output that is about the same speed in chrome and substantially faster in firefox. http://jsperf.com/angularjs-parse-getter/6 Closes #5359
2013-12-18perf(compile): add class 'ng-scope' before cloning and other micro-optimizationsKarl Seamon
Add class ng-scope to dom nodes during directive compile rather than link. Optimize handling of nodeLists. This results in a savings of about 130ms during the startup of a product within Google. Closes #5471
2013-12-18docs($resource): fix typo in server response exampleoweitz
The server is supposed to return the same card number as in the client request. Adjust server response example to the value given in the client request. Closes #5352
2013-12-18docs(tutorial/step-5): fix typojustmiaotou
Closes #5347
2013-12-18docs(ngInit): fix typoJason Farnsworth
Closes #5343
2013-12-18docs(guide/directive): improve access to isolate scope informationPete Bacon Darwin
Closes #5329
2013-12-18docs(tutorial/step_11): fix indenting in an exampleJesse Browne
Closes #5322
2013-12-18docs(contribute): you may need sudo to install globally on unix systemsKurt Funai
Closes #5318
2013-12-18docs(error/noregexp): fix link to ng-patternZiang Song
Closes #5313
2013-12-18docs($compile): fix param name and improve example variable nameKindy Lin
Closes #5310
2013-12-18fix(input): do not hold input for composition on androidChia-liang Kao
Workaround for chrome for android until #2129 is ready. Closes #5308, #5323
2013-12-18chore($sniffer): make android variable publicChia-liang Kao
2013-12-17docs(bootstrap-prettify): fix $timeout issues and update related docsPete Bacon Darwin
End 2 end tests wait for all `$timeout`s to be run before completing the test. This was problematic where we were using timeouts that restarted themselves because there would never be a point when all timeouts had completed, causing the tests to hang. To fix this $timeout had been monkey-patched but this caused other issue itself. Now that we have $interval we don't need to use $timeout handlers that re-trigger the $timeout so we can ditch the monkey-patch. This commit tidies up any examples that are using this approach and changes them to use $interval instead. Closes #5232
2013-12-17perf: use faster check for $$ prefixKarl Seamon
Use two calls to charAt instead of substr to detect a $$prefix in the shallowCopy functions. This makes shallowCopy 25-50% faster (depending on which browser is used). http://jsperf.com/angular-shallow-copy Closes #5457
2013-12-17fix(select): invalidate when 'multiple`, `required` and model is `[]`Caitlin Potter
When `multiple` attribute is set on a `<select>` control and the model value is an empty array, we should invalidate the control. Previously, this directive was using incorrect logic for determining if the model was empty. Closes #5337
2013-12-17docs(tutorial/step-11): change "last" to "next"Stéphane Reynaud
Since step 12 was added, step 11 is not the last. So this is not the last improvement. Closes #5306
2013-12-17docs(): fix jshint issuesPete Bacon Darwin
2013-12-17docs($resource): add example for a custom PUT requestunclejustin
Closes #5302
2013-12-17docs(tutorial/step-0): fix twitter bootstrap linkGrigoriy Beziuk
The url of twitter bootstrap was outdated. Closes #5290
2013-12-17docs(ng): fix typo and line lengthsOliver Schmidt
Closes #5288
2013-12-17docs(css): improve definition table styleSharon DiOrio
Text in definition tables are now aligned to the top of the cell. These are used in the API index page and makes it cleared what headings match what content. Closes #5286
2013-12-17docs(ngIf): remove invalid comment from CSSPete Bacon Darwin
We cannot use valid /* ... */ CSS comments in examples because they break the parsing of the ngdoc comments. We can't use inline // comments because these are not valid in CSS. We could use the //!annotate extension to the ngdoc parser but this does not seem to be working. It is best to simply remove this line. Closes #5234
2013-12-16fix(jqLite): support unbind self within handlerChris Chua
If an event handler unbinds itself, the next event handler on the same event and element doesn't get executed. This works fine in jQuery, and since jqLite doesn't support .one, this might be a common use case.
2013-12-16chore: run docs unit test only onceVojta Jina
Before we would run them twice on Travis. I don't think it should be part of ci-check task.
2013-12-16fix(ngRepeat): allow multiline expressionsRhys Brett-bowen
allow and pass through new line characters when checking passed in expression Closes #5000
2013-12-16chore(build): simplify release scriptsTobias Bosch
2013-12-16chore(build): correct updating bower versionsTobias Bosch
2013-12-13chore(build): remove stale build filesTobias Bosch
2013-12-13chore(build): correct and refactor release scriptTobias Bosch
2013-12-13chore(build): fix fetching for code.angularjs.orgTobias Bosch
2013-12-13chore(build): fix release.shTobias Bosch
2013-12-13chore(build): fixes to release.shTobias Bosch
2013-12-13chore(build): set execute flag on scriptsTobias Bosch
2013-12-13chore(build): automate cutting a release, publishing to bower and to ↵Tobias Bosch
code.angular.js
2013-12-13docs: fix a broken linkVojta Jina
2013-12-13docs: use q-io instead of deprecated q-fsVojta Jina
This recursive process.nextTick error[1] was probably coming from q-fs, which is not actively maintained. This updates to q-io/fs instead. [1]: https://travis-ci.org/angular/angular.js/jobs/15391590
2013-12-13chore(travis): force the latest version of seleniumVojta Jina
This might solve some flakiness on SL. At least Santi said that ;-)
2013-12-13chore(release): start 1.2.6 taco-salsafication iterationJeff Cross
2013-12-13chore(release): cut 1.2.5 singularity-expansion releasev1.2.5Jeff Cross
2013-12-13docs(CHANGELOG): add v1.2.5 changesJeff Cross
2013-12-13docs(TRIAGING): add info about "needs: public api"Igor Minar
2013-12-13perf(jqLite): implement and use the `empty` method in place of `html(‘’)`Michał Gołębiowski
jQuery's elem.html('') is way slower than elem.empty(). As clearing element contents happens quite often in certain scenarios, switching to using .empty() provides a significant performance boost when using Angular with jQuery. Closes #4457
2013-12-13perf(a): do not link when href or name exists in templateKarl Seamon
Change the a directive to link and hookup a click event only when there is no href or name in the template element. In a large Google app, this results in about 800 fewer registrations, saving a small but measurable amount of time and memory. Closes #5362