Igor Minar
bf79bd4194
fix(ngTransclude): make the transclusion available to parent post-link
...
previously the translusion was appended the the ngTranslude element via
$evalAsync which makes the transluded dom unavailable to parent
post-linking functions. By appending translusion in linking phase,
post-linking functions will be able to access it.
2013-08-20 23:31:38 -07:00
James Daily
5c4ffb36de
fix(ngdocs): use cdn version to generate link to source files
...
Closes #3616
Closes #3675
2013-08-20 23:26:55 -07:00
Chirayu Krishnappa
ffe1665d02
docs(sce,urlutils): update table to use marked syntax
...
Commit 258cae83dc replaced Showdown with marked.
2013-08-20 11:35:01 -07:00
Matias Niemelä
b1a43cd04e
fix($sniffer): ensure older versions of webkit work for animations
2013-08-19 15:51:28 -07:00
Matias Niemelä
b7a54497b5
revert(ngView): remove ngView manual transclusion system
2013-08-19 14:55:19 -07:00
Matias Niemelä
6749fef227
revert(ngInclude): remove ngInclude manual transclusion system
2013-08-19 14:55:19 -07:00
Igor Minar
63e9ea18f8
fix(bower): upgrade to v1.2.0 with fixes we need
2013-08-19 11:06:45 -07:00
Reto Aebersold
d307242e10
style(docs): replace CRLF by LF in svg header logo
2013-08-16 20:05:54 -07:00
Misha Moroshko
b43c09c372
docs($sce): fix parseAsHtml link
2013-08-16 19:48:04 -07:00
Ken Sheedlo
f009962256
fix(docs): wrap error message text inside box
2013-08-16 18:07:12 -07:00
Igor Minar
44b6b72e5e
fix($injector): don't parse fns with no args
...
When annotating a fn, it is wasteful to try to parse a fn that has no arguments
as such fn has no injectable dependencies
2013-08-16 11:01:51 -07:00
Igor Minar
35d4993c3d
chore(ngdocs): disable google analytics in e2e tests
...
GA is not needed during e2e tests, so I'm removing it to speed up the e2e test
suite.
See previous commits for more info.
2013-08-16 11:01:50 -07:00
Igor Minar
705404ff8e
chore(ngdocs): disable code prettification in e2e tests
...
code prettification is expensive and not needed for e2e tests, so I'm disabling
it to speed up the e2e test suite.
this is a temporary measure, see previous commit for more info.
2013-08-16 11:01:16 -07:00
Igor Minar
00f784cda8
chore(ngdocs): disable lunr search during e2e tests
...
lunr has been responsible for slowdown in our test suite by adding ~1sec per
end-to-end test.
(this is because it initializes the index when the app starts)
since out test suite primarily tests the examples, it's reasonable do disable
the search as a temporary meansure.
the real fix is to use protractor and extract all of the examples into
standalone apps which can be tested without bootstrapping the whole docs app.
2013-08-16 10:59:25 -07:00
Tom Dunstan
3bc4e7fd20
fix(filter): filter on false properties
...
Code was evaluating !expression[key] while attempting to
see if the key was present, but this was evaluating to true for
false values as well as missing keys.
Closes #2797 .
2013-08-15 15:50:34 -07:00
Jussi Kosunen
3a65822023
fix($parse): handle promises returned from parsed function calls
...
When a parsed function call returns a promise, the evaluated value
is the resolved value of the promise rather than the promise object.
Closes #3503
2013-08-15 15:15:27 -07:00
Ken Sheedlo
37123cd285
feat(minerr): log minerr doc url in development
...
Closes #3566
2013-08-15 13:23:18 -07:00
Brian Ford
fe267e30b9
fix(grunt): fix regex in grunt util to handle pre-release versions
...
NOTE: this also includes a temporary work-around for Bower
2013-08-15 12:41:14 -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
3b6ec782d8
chore(bower): upgrade bower 1.0.3 -> 1.1.2
2013-08-15 11:50:43 -07:00
Ken Sheedlo
031f8a093f
chore(Grunt): upgrade ng-closure-runner to 0.2.2
...
Closes #3554
2013-08-15 11:49:58 -07:00
Josh Taylor
8a000a586d
style($route): make some jshint recommended changes
...
Syntax changes:
- ternary indentation
- remove unused variable, N
- use triple equals instead of double
Closes #3559
2013-08-15 10:40:49 -07:00
Reto Aebersold
dba5e16269
docs($route): add hint for ngRoute module inclusion
...
Closes #3583
2013-08-15 10:34:23 -07:00
Rob Dodson
380854fd2c
docs($cookies): add info about angular-cookies.js
...
per the [top comment here](http://docs.angularjs.org/api/ngCookies.$cookies#comment-912064775 )
updating documentation so it matches [$resource](http://docs.angularjs.org/api/ngResource.$resource )
and instructs the user to include the `angular-cookies.js` and load `ngCookies`.
Closes #3607
2013-08-15 10:24:27 -07:00
Igor Minar
680b8174ac
docs($interpolate): fix example for provider w/ custom symbols
2013-08-15 08:27:41 -07:00
ItsLeeOwen
5e45fd4ac6
fix(orderBy): remove redundant if statement
...
Removed unnecessary additional conditional statement.
2013-08-14 16:40:36 -07:00
ebeal
60af2ec9a4
fix(tutorial): fix broken link caused by bad line break
2013-08-14 15:45:15 -07:00
Andy Gurden
920a380413
fix($timeout): clean deferreds immediately after callback exec/cancel
...
Make sure $timeout callbacks are forgotten about immediately after
execution or cancellation.
Previously when passing invokeApply=false, the cleanup used $q and so
would be pending until the next $digest was triggered. This does not
make a large functional difference, but can be very visible when
looking at memory consumption of an app or debugging around the
$$asyncQueue - these callbacks can have a big retaining tree.
2013-08-14 14:34:06 -07:00
Mikk Kirstein
f757f86b6c
docs($http): added return to interceptors success callback
2013-08-14 14:15:57 -07:00
Igor Minar
96bbf729dd
test(docs): don't mock out window unnecessarily
2013-08-14 12:03:48 -07:00
Igor Minar
7215afa21c
chore(ngdocs): fixup the docs version switcher
2013-08-14 12:02:44 -07:00
Vojta Jina
90979061e8
chore(travis): add docgen unit tests to Travis build
2013-08-14 10:24:17 -07:00
Vojta Jina
670ca75c8a
test(docs): add missing createMockWindow()
...
Add missing angular.mock.createMockWindow (removed in
0dd062231a ), that the docs tests were
using.
2013-08-14 10:24:17 -07:00
Vojta Jina
b73c46c2fd
chore: fix Travis build
...
Specify hostname/port for connect server to avoid
https://github.com/joyent/libuv/issues/826
2013-08-14 10:24:17 -07:00
Vojta Jina
405f3267b8
chore(travis): cleanup travis_build.sh
2013-08-14 10:24:02 -07:00
Vojta Jina
c63fbbbcd1
chore: disable npm install on Travis
...
Grunt is configured to run `npm install` before every task. That is convenient when switching a branch for example.
On Travis, this makes no sense and is causing tons of NPM warnings (eg. packages not defining repository field etc).
2013-08-13 23:02:21 -07:00
Vojta Jina
23a59aebad
chore: update Node.js on Travis
2013-08-13 23:02:21 -07:00
Vojta Jina
5f3d69a52b
chore: update Karma to v0.10
2013-08-13 23:02:21 -07:00
Vojta Jina
c6ca827150
chore(sauce): use tunnel-identifier and ready-file only on Travis
...
When running locally, there's not TRAVIS_JOB_NUMBER env variable defined and it screws
the Sauce Connect (it uses a tunnel with empty name), this makes it work locally without defining
TRAVIS_JOB_NUMBER env variable.
Also, if you run the sauce_connect_setup.sh locally, without having SAUCE_CONNECT_READY_FILE, it
does not pass the `--ready-file` argument to avoid Sauce Connect blowing up.
2013-08-13 23:02:21 -07:00
Igor Minar
79a88ecfa6
chore(grunt): ensure that grunt uses zip for compression
2013-08-13 15:15:50 -07:00
Vojta Jina
d8c010ac1e
docs(tutorial): fix links to ngRoute module
2013-08-13 14:17:37 -07:00
Igor Minar
bd03a556c0
chore($parse): remove duplicate comment line
2013-08-13 14:17:18 -07:00
Igor Minar
f6435044dc
chore(release): version bump
2013-08-13 14:16:47 -07:00
Igor Minar
3ad2e44cc3
docs(CHANGELOG): update changelog
2013-08-13 12:55:31 -07:00
Igor Minar
e16c9362e7
chore(release): cut 1.2.0rc1 spooky-giraffe
2013-08-13 11:50:32 -07:00
Igor Minar
ef3569e772
chore(grunt): support RCs in version numbers
2013-08-13 10:59:21 -07:00
Igor Minar
f310bcc4d7
docs(CHANGELOG): release notes for 1.2.0-rc1 spooky-giraffe
2013-08-13 10:49:02 -07:00
Igor Minar
0dd062231a
chore(mocks): remove obsolte createMockWindow api
...
we never released this api, so it's safe to remove
2013-08-13 10:48:54 -07:00
Igor Minar
e3e57fb9cd
chore(changelog.js): pickup breaking changes f/ chore/refactor commits
2013-08-13 10:00:14 -07:00
Ken Sheedlo
1429a71474
fix(minerr): escape double quotes in error displays
...
Closes #3553
2013-08-12 16:16:39 -07:00