aboutsummaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)Author
2013-12-19chore(release): improve the release scriptIgor Minar
2013-12-19docs(CHANGELOG): add v1.2.6 changesBrian Ford
2013-12-19feat(ngAnimate): provide configuration support to match specific className ↵Matias Niemelä
values to trigger animations Closes #5357 Closes #5283
2013-12-19feat(jqLite): provide support for element.one()Matias Niemelä
2013-12-19style(animateSpec): ensure spacing between specs and describes is consistentMatias Niemelä
2013-12-19fix($animate): use a scheduled timeout in favor of a fallback property to ↵Matias Niemelä
close transitions With ngAnimate, CSS transitions, that are not properlty triggered, are forceably closed off by appling a fallback property. The fallback property approach works, however, its styling itself may effect CSS inheritance or cause the element to render improperly. Therefore, its best to stick to using a scheduled timeout to run sometime after the highest animation time has passed. Closes #5255 Closes #5241 Closes #5405
2013-12-19docs($interval): remind the developer to destroy their intervalsJosh Kurz
It is essential that users of `$interval` destroy the interval when they are finished. Otherwise you can get memory leaks. Often `$intervals` are used in directives or controllers and developers don't think about what happens when the component is destroyed. If a directive/controller scope is destroyed, then the $interval should be destroyed as well. This could cause some issues with developers who assume that the interval will be cleared for them when the scope is destroyed. Closes #5377 I believe that the library could/should handle this as well, but thats another issue.
2013-12-19docs(ngCloak): style name is ng-cloak, not ngCloaksnicolai
Closes #5374
2013-12-19docs(booleanAttrs): add @priority to all the boolean directivesMark Jones
Closes #5361
2013-12-19docs(tutorial/step-4): fix typoTony Cronin
Closes #5356
2013-12-19docs($injector): use correct spacing convention for CoffeeScript functionsmkolodny
This convention is exhibited by http://coffeescript.org/ and https://github.com/polarmobile/coffeescript-style-guide#functions. Closes #5354
2013-12-19docs(ngEventDirs): adding quick examples for new eventsJames Watling
Closes #5338
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