Kent C. Dodds
f30163e63a
docs(nav): highlight current nav-index-listing
...
Color the current nav-index-listing item dark red
to make it easier to know where you are.
Closes #9970
Closes #9974
2014-11-15 11:30:23 +01:00
Marcy Sutton
5b23bc9b07
docs(ngAria): Add Usage Details and Examples
...
Closes #10031
2014-11-14 18:08:42 -05:00
Marcy Sutton
9d1e87a3f1
docs(guide/accessibility): Content updates
...
Also includes new section on ngMessages
2014-11-14 18:06:59 -05:00
Peter Bacon Darwin
6604c23614
fix(select): ensure the label attribute is updated in Internet Explorer
...
Only changing the `<option>` text value is not enough to trigger a render
change in IE. We need to explicit update the `label` property too.
Closes #9621
Closes #10042
2014-11-14 21:17:28 +00:00
Peter Bacon Darwin
195deca6e2
test(select): refactor option elements expectations to use toEqualOption matcher
...
By using a new matcher our tests become less brittle with respect to unimportant
extra attributes.
2014-11-14 21:16:42 +00:00
Caitlin Potter
85eb9660ef
fix(ngPattern): match behaviour of native HTML pattern attribute
...
From https://html.spec.whatwg.org/multipage/forms.html#attr-input-pattern
> The compiled pattern regular expression, when matched against a string, must have its start
anchored to the start of the string and its end anchored to the end of the string.
Closes #9881
Closes #9888
2014-11-14 20:18:57 +00:00
David Stensland
d81ff8885b
fix(ngMock): call $interval callbacks even when invokeApply is false
...
Make ngMock.$interval behave like ng.$interval
Closes #10032
2014-11-14 11:42:24 -05:00
Caitlin Potter
eca14d98a4
chore($q): make jscs happy
...
jscs loves to be happy and does not love trailing whitespace.
2014-11-14 11:11:39 -05:00
Bernie Telles
22ecbc50f4
docs($q): explain what the $q service does in description
...
Explain what the $q service does in description, instead of origin document.
The original explanation was less accessible to people new to promises and JS in general.
Closes #10056
2014-11-14 11:09:37 -05:00
Chatchavan Wacharamanotham
7f857e44a2
docs(guide/compiler): replaced 'locals' with 'scope'
...
In "Understanding How Scopes Work with Transcluded Directives" section, a text referred to an
obsolete 'locals' instead of 'scope'.
Closes #10018
2014-11-14 11:03:24 -05:00
Caitlin Potter
be6920b356
test(orderBy): add test cases for ordering array-like objects
...
Closes #10060
2014-11-14 10:02:23 -05:00
Karol Wypchło
8eabc5463c
perf(orderBy): copy array with slice instead of for loop
...
Use array slice method to copy entire array instead of a for loop
http://jsperf.com/new-array-vs-splice-vs-slice/54
Closes #9942
2014-11-14 09:34:16 -05:00
Anton Savchenko
14ff529fbb
refact(angular.bind): use concat() rather than duplicating code
...
Closes #4200
2014-11-13 13:33:24 +00:00
Jason Bedard
fbad280570
refactor($parse): separate tokenizing vs parsing more
...
Fixes `a.b` and `a .b` generating different getterFns
Fixes `{'': ...}` turning into `{"''": ...}`
Fixes `{.: ...}` parsing as `{'.': ...}` instead of throwing
Fixes #9131
2014-11-12 23:36:23 +01:00
Pawel Kozlowski
8b775a0d58
docs(guide/expressions): clarify regexp literals usage in expressions
...
Closes #10026
Closes #10030
2014-11-12 22:50:21 +01:00
Pawel Kozlowski
0bbc6ee481
docs($route): fix description of the caseInsensitiveMatch property
...
Closes #10028
2014-11-12 21:02:24 +01:00
Blaise Kal
381b185117
docs(guide/expressions): replace curly quotes with straight quotes in code example
...
REAL QUOTES HAVE CURVES
Closes #10017
2014-11-12 13:50:09 -05:00
Henrique Ramos Limas
fa0d8c47c3
docs($controller): mention "controller as" syntax
...
Closes #10011
2014-11-12 08:13:43 +00:00
PatrickJS
7e233eb58a
docs($q): missing finally notifyCallback API
...
finally allows for notifyCallback and is missing in the Docs
https://github.com/angular/angular.js/blob/v1.3.2/src/ng/q.js#L288
Closes #10010
2014-11-12 08:04:56 +00:00
Caitlin Potter
b7afd11d26
refactor($parse): don't use bind-once interceptor for non-bind-once expressions
...
Side-effects:
- Logic for allOrNothing watches now lives in $interpolate rather than $parse
Credit to @jbedard for idea to remove $watch interceptors craziness from $interpolate. Even though
it technically didn't actually work, it was worth a shot, and helped clean things up a bit. Go team!
Closes #9958
Closes #9961
2014-11-11 20:29:36 -05:00
Georgios Kalpakas
8582088b36
docs($q): remove IE8-specific notice
...
Closes #10008
2014-11-11 21:03:51 +01:00
Pawel Kozlowski
0db573b749
feat($routeProvider): allow setting caseInsensitiveMatch on the provider
...
Fixes #6477
Closes #9873
2014-11-11 20:20:16 +01:00
codef0rmer
5e78af769e
docs(guide/Index): add book AngularJS UI Development
...
Matthias and I wrote a book on AngularJS which might be helpful for Angular developers.
Merci~!
Closes #9971
2014-11-11 14:13:28 -05:00
AlexChan
804e75045c
docs(ngModel.NgModelController) use $evalAsync instead of $apply for event handling
...
Have the apply called safely during events by using `$evalAsync` rather than `$apply`
This will help ensure that an apply for a user directive is not called during a digest cycle.
Closes #9891
2014-11-11 13:59:17 -05:00
Dim
ebc3b7b1c3
docs(minerr/unpr): fix code example
...
Closes #10000
2014-11-11 12:35:19 +01:00
Andreas Fischer
830846f664
docs(guide/Modules): missing "a" in "a collection"
...
Closes #10001
2014-11-11 12:24:30 +01:00
yarsh
0462ee6659
docs(ngModelOptions): minor grammer error
...
Closes #9928
2014-11-11 10:20:32 +01:00
rsperberg
9cc6835819
docs(guide/Conceptual Overview): change "a" to "an" before "ng-controller"
...
Closes #9895
2014-11-10 20:41:04 +01:00
inphovore
ee1fc1dc13
docs(guide/Bootstrap): batarang link correction
...
Closes #9869
2014-11-10 19:42:20 +01:00
Nicholas Albion
41b36e689c
docs($compile): bindToController clarification
...
It was not clear that `bindToController` is a boolean.
Closes #9835
2014-11-10 19:19:05 +01:00
Georgios Kalpakas
52545e5a74
docs($browser): minor docs fixes
...
Remove obsolete `XHR` param from the docs and correct
`$log` param description.
Closes #9810
2014-11-10 19:07:15 +01:00
Justin
2abea7514a
docs(select): minor markdown syntax fix
...
Half the sentence was being highlighted as code.
Closes #9983
2014-11-10 12:05:46 -05:00
Martin Staffa
f157d02793
docs(ngModelController): clarify parse errors
...
Closes #9952
2014-11-09 23:31:27 +01:00
Rouven Weßling
77d8ae1d45
refactor($location) Remove unused variables
...
These were left around in 736c8fbbae
Closes #9482
2014-11-09 16:18:00 +01:00
Henry Zhu
e21b6ff3ff
style(*): add rule requireSpacesInConditionalExpression
...
Closes #9973
2014-11-09 15:51:01 +01:00
Henry Zhu
06016bb12c
style(*): add rules requireSpace(After|Before)BinaryOperators
2014-11-09 15:51:01 +01:00
Arjunkumar
50e72fcae1
docs(guide/migration): typo fix
...
spell check propery to property
Closes #9937
2014-11-08 14:56:39 +01:00
micellius
b84e62bd28
docs(CHANGELOG): ohmygosh they're different ohmygoshohmygosh
...
Align versioning format
Closes #9968
2014-11-08 08:11:51 -05:00
Igor Minar
b6fd184a93
docs(CHANGELOG): add a security note to the 1.3.2 log
2014-11-07 17:09:44 -08:00
Caitlin Potter
1db9e617ce
docs(CHANGELOG): slight fixup
2014-11-07 14:11:10 -05:00
Caitlin Potter
0918f146e4
docs(CHANGELOG): add v1.3.2 changes
2014-11-07 14:09:32 -05:00
Brian Ford
6dfd938bbc
docs(guide/index): link to security
2014-11-07 10:32:10 -08:00
Brian Ford
4f5a60bcca
docs($parse): formatting, link to security docs
2014-11-07 10:32:10 -08:00
Brian Ford
e593939411
docs(security): add security doc
2014-11-07 10:32:10 -08:00
Martin Staffa
9e305948e4
fix(select): use strict comparison for isSelected with selectAs
...
Closes #9639
Closes #9949
v1.3.2
2014-11-07 13:22:01 -05:00
Lucas Galfaso
ed99821e4d
fix($parse): stateful interceptors override an undefined expression
...
When using `$parse` with a stateful interceptor and the expression
is `undefined`, then return the result from the interceptor
NOTE from Igor: this is not the best solution. We need to refactor
this and one-time + $interpolate code to properly fix this. @caitp
is on it. See discussion in the PR.
Closes #9821
Closes #9825
2014-11-07 10:17:32 -08:00
Chirayu Krishnappa
e057a9aa39
fix($parse, events): prevent accidental misuse of properties on $event
2014-11-06 19:30:48 -08:00
Chirayu Krishnappa
e676d642f5
fix($parse): add quick check for Function constructor in fast path
2014-11-06 19:30:48 -08:00
Lucas Galfaso
288b531626
docs(CHANGELOG): Document breaking change from 23bc92b1
...
Document the breaking change from 23bc92b1
Closes #9947
2014-11-06 15:27:44 -05:00
rsperberg
7a4df50480
docs(guide/concepts): spell "Angular" with cap "A", fix typos
...
In these two instances, Angular was spelled with a lower-case "a." All occurrences should be spelled
consistently.
Compound adjectives preceding the noun they modify should generally be hyphenated (cf Chicago Manual
of Style, 6.40), e.g., "so-called directives."
Closes #9896
2014-11-06 14:16:16 -05:00