G.H. Naylor
d3930fdfd9
docs(modulerr): fix typo
...
Closes #4418
2013-10-24 20:51:32 +01:00
Brian Ford
e69c287293
docs(guide/directive,guide/compiler,): drastically improve
2013-10-23 14:17:27 -07:00
Vojta Jina
14438058da
docs: correct broken links
...
This also contains some whitespace corrections by my editor.
2013-10-18 15:35:41 -07:00
Igor Minar
dba566a96d
docs($rootScope): better document infinite digest and ttl
2013-10-15 11:28:47 -07:00
Peter Bacon Darwin
7a586e5c19
fix(*): protect calls to hasOwnProperty in public API
...
Objects received from outside AngularJS may have had their `hasOwnProperty`
method overridden with something else. In cases where we can do this without
incurring a performance penalty we call directly on Object.prototype.hasOwnProperty
to ensure that we use the correct method.
Also, we have some internal hash objects, where the keys for the map are provided
from outside AngularJS. In such cases we either prevent `hasOwnProperty` from
being used as a key or provide some other way of preventing our objects from
having their `hasOwnProperty` overridden.
BREAKING CHANGE: Inputs with name equal to "hasOwnProperty" are not allowed inside
form or ngForm directives.
Before, inputs whose name was "hasOwnProperty" were quietly ignored and not added
to the scope. Now a badname exception is thrown.
Using "hasOwnProperty" for an input name would be very unusual and bad practice.
Either do not include such an input in a `form` or `ngForm` directive or change
the name of the input.
Closes #3331
2013-10-07 09:01:13 -07:00
Chirayu Krishnappa
93ce5923e9
feat($sce): simpler patterns for $sceDelegateProviders white/blacklists
...
Closes #4006
2013-10-01 00:41:07 -07:00
jankuca
5a1a6b86a8
fix(ngTransclude): detect ngTranslude usage without a transclusion directive
...
Closes #3759
2013-09-30 16:44:19 -07:00
Brian Ford
8727fce312
docs(minerr): add note about ngRoute in injector/modulerr
2013-09-30 11:34:49 -07:00
Brian Ford
eea76a0ebe
docs(minerr): fix broken style from long line in nonassign
2013-09-26 14:13:02 -07:00
Chirayu Krishnappa
be0b485669
fix($parse): disallow access to window and dom in expressions
2013-09-17 18:15:49 -07:00
Ken Sheedlo
02d42fda6d
chore(minerr): move $sce:insecurl file to sce directory
...
Closes #3568
2013-08-15 11:51:37 -07:00
Igor Minar
ca92b6528a
docs(minErr): add location/ipthprfx
2013-08-12 14:09:09 -07:00
Igor Minar
2c64f3dc17
docs(minErr): add location/isrcharg docs
2013-08-12 14:09:09 -07:00
Igor Minar
72dc48ea4d
docs(minErr): add location/ihshprfx
2013-08-12 14:09:08 -07:00
Igor Minar
544d2616b4
chore($location): drop bugus error
...
we can never get to this state, so dropping the error
2013-08-12 14:09:08 -07:00
Ken Sheedlo
45dc9ee7b4
style(minerr): prefer component name as namespace
...
Closes #3527
2013-08-09 14:12:04 -07:00
Jeff Cross
3ee744cc63
fix(re-bootstrap): Throw an error when bootstrapping a bootstrapped element.
...
Nothing would prevent a user from accidentally calling angular.bootstrap on an element that had already been bootstrapped. If this was done, odd behavior could manifest in an application, causing different scopes to update the same DOM, and causing debugger confusion.
This fix adds a check inside of angular.bootstrap to check if the passed-in element already has an injector, and if so, will throw an error.
2013-08-09 13:14:12 -07:00
Igor Minar
b3087421f2
docs(jqLite): update the minErr codes for on() and off()
2013-08-09 00:39:31 -07:00
Misko Hevery
4175377aaf
docs(compile/tplrt): description for compile/tplrt error
...
Closes #3459
2013-08-08 18:58:08 -07:00
Misko Hevery
dbd703a9fb
docs(compile/selmulti): description for compile/selmulti error
...
Closes #3459
2013-08-08 17:16:46 -07:00
Misko Hevery
fa3985764c
docs(compile/nodomevents): description for compile/nodomevents error
...
Closes #3459
2013-08-08 14:45:04 -07:00
Misko Hevery
78a445fa37
docs(compile/notassign): description for compile/notassign error
...
Closes #3459
2013-08-08 14:33:16 -07:00
Misko Hevery
4e76d0469e
docs(compile/multidir): description for compile/multidir error
...
Closes #3459
2013-08-08 14:14:33 -07:00
Igor Minar
3fb80b4ea1
docs(minErr): add controller/noscp docs
2013-08-08 12:13:34 -07:00
Igor Minar
74d50f7c16
docs(minErr): add rootScope/inprog docs
2013-08-08 12:04:34 -07:00
Igor Minar
465a2937cc
docs(minErr): improve compiler/iscp
2013-08-08 11:26:56 -07:00
Igor Minar
69058bf2c4
docs(minErr): improve sce/icontext
2013-08-08 11:24:34 -07:00
Igor Minar
c7953ffb7f
docs(minErr): improve sce/iequirks doc
2013-08-08 11:23:17 -07:00
Ken Sheedlo
40d351712e
docs(minerr): add description for ngResource:badargs
...
Closes #3510
2013-08-08 11:19:25 -07:00
Brian Ford
3cde777514
docs(minErr): add minErr description for jqLite:nosel
...
Closes #3426
2013-08-08 11:11:17 -07:00
Ken Sheedlo
def7e961b4
docs(minerr): add description for ngResource:badcfg
...
Closes #3509
2013-08-08 11:08:03 -07:00
Igor Minar
e27fb4ddd6
docs(minErr): rename compile/utrat to compile/uterdir
2013-08-08 11:02:30 -07:00
Ken Sheedlo
caa71c2772
docs(minerr): add description for $compile:utrat
...
Closes #3507
2013-08-08 10:56:55 -07:00
Igor Minar
934e569cca
docs(minErr): improve sce/isecurl doc
2013-08-08 10:32:55 -07:00
Igor Minar
0bf0570505
docs(minErr): rename sce/isecrurl to sce/insecurl
2013-08-08 10:22:32 -07:00
Igor Minar
3ab579a2a6
docs(minErr): improve sce/itype.ngdoc
2013-08-08 10:21:26 -07:00
Brian Ford
5d3744ad9b
docs(minErr): add minErr description for $compile:ctreq
...
Closes #3423
2013-08-08 10:11:56 -07:00
Ken Sheedlo
e4b6a1eaa4
docs(minerr): fill in error message descriptions
...
Errors I've documented so far:
- `$injector:cdep`
- `$injector:itkn`
- `$injector:modulerr`
- `$injector:nomod`
- `$injector:pget`
- `$injector:unpr`
- `ng:areq`
- `ng:cpi`
- `ng:cpws`
- `ngModel:noass`
Closes #3430
2013-08-07 21:36:59 -07:00
Ken Sheedlo
7f14cdeeb5
docs(minerr): add description for $rootScope:infdig
2013-08-07 15:26:27 -07:00
Brian Ford
a02aaf1709
docs(minErr): add minErr description for $compile:tpload
...
Closes #3427
2013-08-07 10:45:11 -07:00
naomiblack
ad2b8c5bd4
docs(error): updated description for ngPattern/noregexp.ngdoc
2013-08-07 09:50:38 -07:00
naomiblack
e4530d11fb
docs(error): added description for ngOptions/iexp.ngdoc
...
Closes #3431
2013-08-07 09:47:13 -07:00
naomiblack
88037ad688
docs(error): added description for ngSanitize/badparse.ngdoc
...
Closes #3438
2013-08-07 09:43:14 -07:00
Igor Minar
e38bf59aab
docs(minErr): improve $parse/isecfn
2013-08-07 09:32:23 -07:00
James deBoer
e21f252aa7
docs(minerr): Adds a description for parser.lexerr
...
Closes #3433
2013-08-07 09:30:04 -07:00
James deBoer
03475194d8
docs(minerr): Adds a description for parser.syntax
...
Closes #3434
2013-08-07 09:28:24 -07:00
James deBoer
68d79d560e
docs(minerr): Adds a description for parser.ueoe
...
Closes #3435
2013-08-07 09:26:04 -07:00
James deBoer
3b89e4eef1
docs(minerr): Adds a description for ngRepeat.dupes
...
Closes #3439
2013-08-07 09:22:21 -07:00
James deBoer
fe187674b5
docs(minerr): Adds a description for ngRepeat.iexp
...
Closes #3440
2013-08-07 09:11:15 -07:00
James deBoer
446ee4ea19
docs(minerr): Adds a description for ngRepeat.iidexp
...
Closes #3441
2013-08-07 09:05:12 -07:00