Commit Graph

4334 Commits

Author SHA1 Message Date
Chia-liang Kao
ffe5115355 style(tests): remove trailing comma in specs
Closes #6241
2014-02-22 22:41:51 +01:00
Alessandro Bahgat
61b2515c0d docs(ngPluralize): corrected "bounded to" to "bound to"
Closes #6408
2014-02-22 15:29:14 -05:00
Peter Bacon Darwin
f296e2ee12 docs($animate): change @param to use valid types
`{jQuery/jqLite element}` is not a valid jsdoc type and breaks when being
parsed causing the documentation to look wrong.  This commit changes all
such param tags to use `DOMElement` instead, which is what is used for
similar params in `$compile` and `angular.element`.
2014-02-22 13:07:19 +00:00
Peter Bacon Darwin
f4a121f6c2 chore(protractor-jenkins-config): don't use this inside onPrepare
Closes #6406
2014-02-22 12:19:49 +00:00
Peter Bacon Darwin
b72ea59019 chore(docs-app): re-activate docs-app test tasks
Currently there is only a minimal test spec in place. But this will now
be run as part of the test tasks.
2014-02-22 10:07:31 +00:00
Peter Bacon Darwin
3b5480e9fc chore(doc-app): ensure only canonical paths get sent to Google Analytics
Before we were simply sending the current location, but multiple URLs map
to the same document.
Now, we use the canonical path of the current document if available and
fall back to the $location path otherwise.
Includes tests!!

Closes #6402
2014-02-22 10:07:31 +00:00
Sekib Omazic
a4078fcae4 perf($cacheFactory): skip LRU bookkeeping for caches with unbound capacity
Fixes #6193
Closes #6226
2014-02-21 22:29:46 -08:00
Julie
39c82f3fb7 chore(travis): reorganize protractor configs to group by spec instead of by browser
Use the multiConfiguration ability of Protractor to start tests on multiple browsers
from the same travis cell. Group tests by type (jquery, jqlite, or docs tests) instead
of by browser. Turn on tests for jQuery.
2014-02-21 16:57:04 -08:00
Caitlin Potter
1293cc88cd chore(examples): remove final traces of examples from the tree
Apparently some example files were referenced in angularFiles.js, and this was missed when
2f45133393 was checked in. This cleans it up.

Closes #6405
2014-02-21 18:37:12 -05:00
Caitlin Potter
cad717b117 fix($location): parse query string when path is empty in hashbang mode
Before this fix, search queries in hashbang mode were ignored if the hash was not present in the
url. This patch corrects this by ensuring that the search query is available to be parsed by
urlResolve when the hashbang is not present.

Closes #5964
2014-02-21 18:31:13 -05:00
Caitlin Potter
c2d447e378 fix(input): use ValidityState to determine validity
In browsers where HTML5 constraint validation is (partially) implemented, an invalid number
entered into an input[type=number] (for example) input element would be visible to the
script context as the empty string. When the required or ngRequired attributes are not used,
this results in the invalid state of the input being ignored and considered valid.

To address this, a validator which considers the state of the HTML5 ValidityState object is
used when available.

Closes #4293
Closes #2144
Closes #4857
Closes #5120
Closes #4945
Closes #5500
Closes #5944
2014-02-21 18:03:24 -05:00
Caitlin Potter
75515852ea fix(isElement): reduce false-positives in isElement tests
Complimentary change to match changed $parse behaviour.
2014-02-21 17:59:01 -05:00
Caitlin Potter
5fe1f39f02 fix($parse): reduce false-positives in isElement tests
There are always going to be false positives here, unfortunately. But
testing different properties will hopefully reduce the number of false
positives in a meaningful way, without harming performance too much.

Closes #4805
Closes #5675
2014-02-21 17:58:48 -05:00
Caitlin Potter
2bce71e9dc feat(ngHref): bind ng-href to xlink:href for SVGAElement
This change makes the ngHref directive useful for SVGAElements by having it bind
to the xlink:href attribute rather than the href attribute.

Closes #5904
2014-02-21 17:56:48 -05:00
Boris Serdyuk
c8e03e34b2 fix($http): do not add trailing question
Closes #6342
2014-02-21 14:51:10 -08:00
Pawel Kozlowski
267b217376 fix($http): send GET requests by default
Fixes #5985
Closes #6401
2014-02-21 14:42:03 -08:00
Caitlin Potter
2f45133393 chore(examples): remove ancient examples from the tree
Let these poor scripts retire, goodness.

Closes #6398
Closes #3310
2014-02-21 14:52:12 -05:00
Peter Bacon Darwin
4a6a3ba7fb docs(*): fix anchors for members in api docs 2014-02-21 19:37:37 +00:00
Peter Bacon Darwin
0c9abc32c0 docs(guide/filter): fix input type in example
Closes #6366
2014-02-21 13:57:18 +00:00
Stéphane Reynaud
a9cc6efb3c docs(tutorial/step_11): fix url-based links refs to AUTO module
Closes #6389
2014-02-21 13:52:30 +00:00
Stéphane Reynaud
d7d3ef12a6 docs(tutorial/step_06): fix url-based links refs to AUTO module
Closes #6388
2014-02-21 13:52:16 +00:00
Stéphane Reynaud
1a98b4fe02 docs(tutorial/step_05): fix url-based links refs to AUTO module
Closes #6387
2014-02-21 13:52:00 +00:00
Stéphane Reynaud
a5859aaf63 docs(guide/di): fix url-based links refs to AUTO module
Closes #6386
2014-02-21 13:49:59 +00:00
Stéphane Reynaud
dacdcc6d96 docs(guide/compiler): fix url-based links refs to AUTO module
Closes #6385
2014-02-21 13:49:13 +00:00
Sadaoui Abderrahim
7cd79b6f8f docs(ngMock.$interval): fix return description
Closes #6384
2014-02-21 13:48:01 +00:00
Stéphane Reynaud
fa5ca115ac docs(guide/i18n): fix url-based links refs to AUTO module
Closes #6383
2014-02-21 13:32:16 +00:00
Stéphane Reynaud
48b86a4eae docs(guide/scope): fix url-based links refs to AUTO module
Closes #6382
2014-02-21 13:26:08 +00:00
Stéphane Reynaud
f827d64c2e docs(guide/location): fix url-based link to AUTO module
Closes #6381
2014-02-21 13:00:26 +00:00
Julie
4d7e1cef37 chore(doc-gen): generate examples for each deployment, e.g. jquery
Update to the latest dgeni-packages, which supports multiple
deployment environments for the examples.

Add a jQuery deployment environment for the examples.

Currently, the target of the runnable example iframe always points
to the default deployment environment, not to the environment under
which the main app is running.

Closes #6361
2014-02-21 09:59:12 +00:00
Jennifer Song
58b01fac1e docs(tutorial/step-05): replace minify wiki link with shortened URL
marked has an existing bug where links ending with a ')' will not be parsed correctly. The workaround
is to use a shortened URL. The original URL that is being replaced by this commit is
http://en.wikipedia.org/wiki/Minification_(programming) .

Closes #6377
2014-02-21 01:19:26 -05:00
Tobias Leugger - Vibes
84ad0a037c docs(guide/ie): correct conditional comment to load JSON polyfill for IE7 and lower
Text specifies "polyfill JSON.stringify for IE7 and below" conditional comment for loading the
polyfill was "lte IE 8".

Closes #6227
2014-02-20 17:16:48 -05:00
James Roome
2a37690f70 docs(ngSubmit): reference correct object ($scope) in example.
Switched from this to $scope. It's confusing using $scope and this interchangeably.

Closes #6375
2014-02-20 17:12:52 -05:00
Brad Williams
45304a9d68 docs(guide/directive): add a more detailed description of isolate scope & bindings
More description of "&" bindings, the fact that they trigger evaluation of expressions in the
original scope's context.

Closes #6255
2014-02-20 15:18:47 -05:00
Richard Collins
0478bb4a60 docs(ie): document IE style attribute interpolation problem
IE has issues with this, it's good to make a note of this.

Closes #6329
2014-02-20 14:55:18 -05:00
cnlevy
3193a3a5af docs(core): add note that isObject returns true for arrays
Closes #6353
2014-02-20 14:52:25 -05:00
Sadaoui Abderrahim
6082e2ad16 docs(ngMock): document method ngMock.$interval#cancel()
I have been looking around and was not able to find any informations on how to clear the $interval
but reading the source code, sharing is caring!

Closes #6367
2014-02-20 10:43:05 -05:00
Matias Niemelä
39bae62f53 chore(docs): fix header wrapping for tablet devices 2014-02-20 10:37:03 -05:00
Peter Bacon Darwin
d7a73e41ed chore(doc-gen): add formatted error messages to error pages
This got missed in the doc migration: When there is an error in an
Angular app, extra information is placed in the URL, which can be used
by the docs application to display a more useful message.

This fix adds that back in.  The error message templates are extracted
by the minerr tool during build and put into the errors.json file. The
errors-doc processor will load this up and attach these message templates
to the error docs.

The display of these templates was already in place, via the errorDisplay
directive in docs/app/js/errors.js.

(Also, moved the error.template.html file into the angular.js repository
from the dgeni-packages repository as this is specific to the angular.js
project and all the other error related stuff is in here.

Finally, also, added an e2e test that checks that minerr formatted
messages are displayed correctly.

Closes #6363
2014-02-20 14:41:32 +00:00
Peter Bacon Darwin
e6c35e1b6b chore(package.json): update dgeni dependencies 2014-02-20 11:01:51 +00:00
Matias Niemelä
0b6ba9c940 chore(docs): make the layout fully responsive
Closes #6308
2014-02-19 17:22:54 -05:00
Peter Bacon Darwin
cc1f7539d4 docs(modules): remove unused {@installModule} tags 2014-02-19 21:22:27 +00:00
Peter Bacon Darwin
9ca685bfbd chore(doc-gen): add path of project to the doc gen config 2014-02-19 18:32:38 +00:00
Aaron Wang
1b74e5ed0a docs(api): remove ngRoute.$routeParams link from ng section
Closes #6219
2014-02-19 18:17:41 +00:00
Peter Bacon Darwin
3fbc25718e chore(doc-gen): improve grouping and sorting of api nav items 2014-02-19 16:21:20 +00:00
Peter Bacon Darwin
b488bbf4bf chore(doc-app): remove invalid line of code 2014-02-19 16:07:56 +00:00
Steven Petryk
696928dbc6 docs($routeProvider): fix indentation
Closes #6345

Somebody accidentally padded a list with one-too-many indentations, which caused the actual documentation page to render incorrectly. This should fix it.
2014-02-19 08:03:20 -08:00
Igor Minar
cbcfaa2c8d docs(contributing): remove reference to the obsolete chrome extension 2014-02-18 19:52:10 -08:00
Igor Minar
cafde93a40 docs(triaging): remove reference to the obsolete chrome extension 2014-02-18 19:50:46 -08:00
Igor Minar
1523fc7e6d docs(guide/providers): fix example snippet
Closes #6331
Closes #6332
2014-02-18 19:39:41 -08:00
Caitlin Potter
a3f70172ef chore(travis): don't run Travis-CI builds for G3 branches
Building the G3 commits occupies a lot of time, and these branches have
already been tested.

Closes #6328
2014-02-18 19:15:50 -05:00