Igor Minar
af20a8aac6
docs($parse:isecdom): add a section about return values and CoffeeScript
...
Closes #7973
2014-07-12 20:23:37 -07:00
Erin Altenhof-Long
d15cea48c3
docs(CHANGELOG): add v1.3.0-beta.15 and v1.2.20 changes
v1.3.0-beta.15
2014-07-11 11:15:42 -07:00
Jesse Palmer
363fb4fc79
docs(ngInclude): remove @eventOf jsdocs tag
...
The @eventOf tag was causing a warning on build. I removed the tag and changed the @name to match
the previous comment blocks.
Closes #8140
2014-07-11 00:43:28 -04:00
rodyhaddad
5f6b378e39
chore($parse): remove simpleGetter optimizations as they're no longer valid
...
Closes #8101
2014-07-10 15:16:41 -07:00
Pete Bacon Darwin
20b0c2420b
docs(guide/migrate): add breaking changes for 1.3
...
See #8072
2014-07-10 22:44:34 +01:00
perek
34dcc0f109
fix($http) - add ability to remove default headers
...
Fixes #5784
Closes #5785
2014-07-10 14:37:28 -07:00
Michał Gołębiowski
81cd836137
docs(guide): switch from ngmin to ng-annotate
...
ng-annotate is an independent alternative to ngmin that is non-invasive
and more performant. For the background around the switch, see the discussion
at:
https://github.com/btford/ngmin/issues/93
Closes #8117
2014-07-10 14:14:30 -07:00
Jason Bedard
c61626f10d
test(jqLite): adding and removing data from SVG elements
2014-07-10 11:29:56 -07:00
rodyhaddad
012ab1f874
fix(jqLite): correctly dealoc svg elements in IE
...
SVG elements in IE don't have a `.children` but only `.childNodes` so it broke.
We started using `.children` for perf in e35abc9d2f .
This also acts as a perf improvements, since
`getElementsByTagName` is faster than traversing the tree.
Related #8075
2014-07-10 11:19:24 -07:00
rodyhaddad
9c5b407fd1
fix(jqLite): remove exposed dealoc method
...
The method doesn't exist in jQuery,
and there's shouldn't be any need for it
2014-07-10 10:38:24 -07:00
Erin Altenhof-Long
38bdb40675
docs(e2e-testing): fix broken protractor docs link
2014-07-10 09:51:11 -07:00
Peter Bacon Darwin
2e84cf9274
docs(ngModel): further mods to $viewValue semantics
...
Closes #8110
2014-07-09 14:54:42 +01:00
Shahar Talmi
ada9852af8
docs(ngModel): objects passed to $setViewValue should be copied
...
Closes #8095
2014-07-09 14:54:42 +01:00
Igor Minar
c4c8fbddd0
chore(travis): disable our npm registry cache
2014-07-09 06:37:10 -07:00
Michał Gołębiowski
9630d716e1
chore(travis): disable npm spinner & enable HTTP logs
...
It's good to have HTTP logs on Travis for debugging purposes and the spinner
doesn't integrate with Travis very well & messes the output.
2014-07-09 12:41:46 +02:00
fuqcool
cf4f85f62b
docs(error/$sce/insecurl): fix links to $sce and $sceDelegateProvider
2014-07-08 22:38:49 -07:00
Julie Ralph
93510eb51b
chore(tests): fix warning about a non-unique element locator in e2e tests
2014-07-08 16:26:47 -07:00
Julie Ralph
88a325771b
chore(e2e): update protractor to 1.0.0-rc4
...
This change contains a stability improvement to use data URLs instead of
about:blank for resetting the URL.
2014-07-08 16:22:04 -07:00
Lucas Galfaso
b8ae73e17c
fix(select): auto-select new option that is marked as selected
...
When adding a new <option> element, if the DOM of this option element
states that the element is marked as `selected`, then select the new
<option> element
Closes #6828
2014-07-09 00:44:59 +02:00
Michał Gołębiowski
36831eccd1
refactor(jshint): reduce duplication & test all JS files
2014-07-08 15:49:25 +02:00
Michał Gołębiowski
7d4f0d79bd
chore(jshint): update grunt-contrib-jshint
2014-07-08 15:49:18 +02:00
Brian Ford
5963b5c69f
docs(guide/$location): update note about getter/setters
2014-07-08 04:36:26 -07:00
Domenico Matteo
621f678b2d
docs(guide/i18n): fix typo
2014-07-08 03:34:27 -07:00
Brian Ford
b9fcf01731
feat(ngModel): bind to getters/setters
...
Closes #768
2014-07-08 02:54:08 -07:00
Brian Ford
3f2232b5a1
feat($controller): disable using global controller constructors
...
With the exception of simple demos, it is not helpful to use globals
for controller constructors. This adds a new method to `$controllerProvider`
to re-enable the old behavior, but disables this feature by default.
BREAKING CHANGE:
`$controller` will no longer look for controllers on `window`.
The old behavior of looking on `window` for controllers was originally intended
for use in examples, demos, and toy apps. We found that allowing global controller
functions encouraged poor practices, so we resolved to disable this behavior by
default.
To migrate, register your controllers with modules rather than exposing them
as globals:
Before:
```javascript
function MyController() {
// ...
}
```
After:
```javascript
angular.module('myApp', []).controller('MyController', [function() {
// ...
}]);
```
Although it's not recommended, you can re-enable the old behavior like this:
```javascript
angular.module('myModule').config(['$controllerProvider', function($controllerProvider) {
// this option might be handy for migrating old apps, but please don't use it
// in new ones!
$controllerProvider.allowGlobals();
}]);
```
2014-07-08 02:00:21 -07:00
Brian Ford
d5305d5652
docs(select): update example to use a module
2014-07-08 02:00:21 -07:00
Brian Ford
f9d8819861
docs(guide/expression): update examples to use modules
2014-07-08 02:00:20 -07:00
Brian Ford
a5f6a92c8c
docs(linky): update example to use a module
2014-07-08 02:00:20 -07:00
Brian Ford
282ed94cf9
docs(angular.copy): update example to use a module
2014-07-08 02:00:20 -07:00
Brian Ford
7279452898
docs($sanitize): update example to use a module
2014-07-08 02:00:20 -07:00
Brian Ford
7adcbb06c2
docs(guide/scope): update examples to use modules
2014-07-08 02:00:20 -07:00
Brian Ford
470ad11b2a
docs(guide/forms): update examples to use modules
2014-07-08 02:00:20 -07:00
Brian Ford
9caff0df97
docs($location): update example to use a module
2014-07-08 02:00:20 -07:00
Brian Ford
c0360890c5
docs($cookies): update examples to use modules
2014-07-08 02:00:19 -07:00
Brian Ford
dba8b7e958
docs($sce): update example to use array annotations
2014-07-08 02:00:19 -07:00
Brian Ford
b3da9467af
docs(orderBy): update examples to use modules
2014-07-08 02:00:19 -07:00
Brian Ford
e89916cf0a
docs(limitTo): update example to use a module
2014-07-08 02:00:19 -07:00
Brian Ford
ba2f606143
docs(ngTransclude): update example to use a module
2014-07-08 02:00:19 -07:00
Brian Ford
95c2738244
docs($log): update example to use a module
2014-07-08 02:00:19 -07:00
Brian Ford
e83c5ba68e
docs(ngPluralize): update example to use a module
2014-07-08 02:00:19 -07:00
Brian Ford
474251928e
docs(ngSwitch): update example to use a module
2014-07-08 02:00:19 -07:00
Brian Ford
aecdd9d630
docs(ngInit): update example to use a module
2014-07-08 02:00:18 -07:00
Brian Ford
1534529f8c
docs(ngModelOptions): update examples to use modules
2014-07-08 02:00:18 -07:00
Brian Ford
0a1042535e
docs(ngValue): update example to use a module
2014-07-08 02:00:18 -07:00
Brian Ford
39c7c909fb
docs(ngList): update example to use a module
2014-07-08 02:00:18 -07:00
Brian Ford
d28a0bf49e
docs(ngInclude): update example to use a module
2014-07-08 02:00:18 -07:00
Brian Ford
d35f50ee11
docs($interval): update example to use a module
2014-07-08 02:00:18 -07:00
Brian Ford
74014f57ed
docs(filters): update examples to use modules
2014-07-08 02:00:18 -07:00
Brian Ford
0cddc5c7b4
docs(ngController): update examples to use modules
2014-07-08 02:00:18 -07:00
Brian Ford
f3567b257c
docs($window): update example to use a module
2014-07-08 02:00:17 -07:00