Kevin Western
c6d8205fdd
docs(README.md): fix "API Docs" link
...
use direct link to api docs
2012-11-25 01:24:03 +01:00
Dean Sofer
55150a669a
docs(api): add ngRequired to input/select/textarea directives
...
Closes #1202
2012-11-25 01:19:47 +01:00
Jeremy Tymes
1eb9e22d45
fix($cacheFactory): return undefined when removing non-existent entry
...
Instead of throwning an exception, remove should return undefined when
cache entry to be removed doesn't exist.
Closes #1497
2012-11-24 21:58:17 +01:00
Adrian Gheorghe
c0de8fb737
fix($resource): prevent default params to be shared between actions
...
Having a $resource defined as:
var R = $resource('/Path', {}, {
get: {method: 'GET', params: {objId: '1'}},
perform: {method: 'GET'}
});
was causing both actions to call the same URI (if called in this order):
R.get({}); // => /Path?objId=1
R.perform({}); // => /Path?objId=1
2012-11-24 21:29:16 +01:00
Kris Jenkins
557e3894d7
docs(): Fix a couple of typos in the documentation
2012-11-22 08:28:49 +01:00
Dave Clayton
38a9695413
docs(guide/concepts): some typo/grammar fixes
2012-11-22 08:28:49 +01:00
John Hume
293e0336b0
docs(guide/directive): fix typo
2012-11-22 08:28:49 +01:00
Uri Goldshtein
1f5bc0a1cd
docs($q): fix missing bracket in the example
2012-11-22 08:28:49 +01:00
Igor Minar
1fe666192b
fix($rootScope): workaround for Chrome's memleak
...
Under certain circumstances chrome fails to GC scopes
because of buggy optimizations and caching. Nulling out
references to (not from!) other scopes helps Chrome to
realize that this object should be GC-ed.
This is really just a workaround as the real problem needs
to be fixed in Chrome.
See discusstion at:
https://github.com/angular/angular.js/issues/1313#issuecomment-10378451
And chrome bug at:
https://code.google.com/p/v8/issues/detail?id=2073
Closes #1313
2012-11-14 19:53:29 +01:00
Igor Minar
29541e735d
revert($resource): support custom headers per action
...
This reverts commit b936e52874 .
This commit introduces a feature and should haven't been merged
into the stable branch.
2012-11-11 12:07:26 +01:00
Igor Minar
f5b567d44b
chore(validate-commit-msg): recognize 'revert' as valid commit type
2012-11-11 12:06:05 +01:00
Haralan Dobrev
5ee3bbee90
docs(angular.module): improve angular.Module#run docs
2012-11-11 11:40:52 +01:00
Jamison Dance
80927c5811
docs(guide): fix run-on sentence in modules guide
2012-11-11 11:35:20 +01:00
Jamison Dance
ca8b344e20
docs(tutorial): change module name in step-7
2012-11-11 11:35:15 +01:00
Wes Alvaro
3dab93874d
docs($timeout): set return type to Promise instead of *.
...
The cancel function accepts a Promise, but the timeout function
fails to specify returning a Promise.
2012-11-11 11:32:00 +01:00
Josh Adams
7550f90a57
docs(ngList): fix typo
2012-11-11 11:25:40 +01:00
Josh Adams
d78fea87d1
docs(encodeUriSegment): fix typo
2012-11-11 11:23:46 +01:00
Tim Macfarlane
27cee7db0a
docs(guide/directive): fix names in scope '='; easier to grok
2012-11-11 11:20:57 +01:00
Christian Vuerings
60acba3840
docs(ngHide): Fix typo and make it more in line with ngShow
2012-11-11 10:37:59 +01:00
Igor Minar
51bed36370
chore(docs): fix docs-scenario.html
2012-11-08 22:18:34 +01:00
Igor Minar
6d940213ac
chore(docs): remove obsolete gae files
2012-11-08 22:18:34 +01:00
Miško Hevery
494b527fa7
docs(directive): fix typo
2012-11-05 19:35:31 -08:00
Sudhir Jonathan
8ce84cb2ea
chore(testacular): use local testacular version
...
Making testacular a dependency to avoid having to install it globally.
(Causes npm issues on some machines)
2012-10-31 17:00:00 -07:00
Sudhir Jonathan
d981c2a3ec
fix(select): select option with a label of 0 is not shown
...
Bug caused by the use of the `||` operator to replace all non-truthy
values with an empty string. Changed to replace only `undefined` values.
Closes #1401
2012-10-31 15:03:48 -07:00
Igor Minar
537e20065a
chore(validate-commit-msg): allow '/' in scope
2012-10-31 14:48:24 -07:00
Fred Sauer
97578b4dae
docs(guide/location): fix table formatting
...
Fix table formatting so headings are bold, rows are separated by lines, and rows have :hover style
2012-10-31 14:48:18 -07:00
Tim Macfarlane
fa12564607
docs(module): fix typo in example
...
fixed example app, `simpleAppModule` should have been `myAppModule`.
2012-10-31 14:22:12 -07:00
sqwishy trick
54bcb9ae25
chore(injector): fix typo in injector documentation
2012-10-31 14:19:52 -07:00
Adam Macejak
ad7ce0d402
fix(scenario-runner): support data-ng and x-ng based attributes
...
Prefixed attributes like data-ng-model and x-ng-model were not being
found by the Selector. It was only looking at ng: and ng- prefixed
attributes.
Added a few tests as well to ensure the aforementioned prefixed
attributes are being matched properly.
Closes #1020
2012-10-31 14:10:26 -07:00
Daniel Luz
085e0ea8ef
docs(contribute): fix task name for continuous testing
2012-10-31 13:13:33 -07:00
Igor Minar
bb52c4e8d3
fix(docs): correctly generate filenames for plunkr/fiddle
...
previously examples like $http where broken because we would strip part of the
filename (http-hello.html -> http)
we really want to strip only the id suffix that we append to disambiguate
common filenames (like index.html) which appear in many examples.
2012-10-31 13:06:22 -07:00
Shyam Seshadri
295af335c1
feat(docs): add plunkr support
...
Add option to edit source in Angular Docs in Plunkr in addition to JsFiddle
2012-10-31 13:06:16 -07:00
Daniel Luz
2c2e18c37a
fix(doc): typo on FAQ
...
Closes #1493
2012-10-31 10:26:00 -07:00
Igor Minar
adfb75e3c6
fix($compile): don't look for class directives in empty string
...
if className is undefined or empty string, don't bother looking for directives in there
2012-10-29 19:39:34 -07:00
Igor Minar
9bff5c60df
fix($compile): compilation should not recurse into empty nodes
...
if a node doesn't have children then don't try to compile these non-existent children
2012-10-29 19:39:21 -07:00
Igor Minar
3ba008d4b2
style($compile): better fn names for debugging
2012-10-29 19:38:57 -07:00
Igor Minar
4e45a2f8e2
refactor($compile): simplify nodeLinkFn
2012-10-29 19:38:29 -07:00
Igor Minar
4dbd8452eb
fix($compile): prevent double attr interpolation w/ templateUrl
...
This fixes the issue that caused two attr interpolation observers
to be registered for the same attribute as a result of isolate
scope definition with attr (@) property for this attribute.
Duplicate observers would then fight with each other updating the
model.
The issue occured only when this directive was used in a repeater
because that's when we clone the template node which caused the
two observers to point to two different sets of $attr instances.
Closes #1166 , #836
2012-10-29 19:38:03 -07:00
Braden Shepherdson
45a8db9c08
fix(currency): Handle not-quite-zero values
...
IEEE 754 floating point sometimes results in values that are very small,
rather than zero. One example is 1.0 + 1.07 - 2.07, which returns
4.440892098500626e-16 instead of 0.
This change tweaks the number formatting logic so that an exponential
value with a negative exponent that is larger than the precision+1
returns 0 instead. For example: with precision 2, anything with an
exponent of -4, -5 or more would become 0. 9e-3 = 0.009 = 0.01, but 9e-4
= 0.0009 = 0.001 = 0.00. This detail is unlikely to matter since this
quirk is usually only triggered with values very close to zero.
Closes #1469
2012-10-29 19:37:52 -07:00
Braden Shepherdson
d930a410fb
doc(faq): Add Common Pitfalls section
...
Describes several common pitfalls new users of Angular fall into that
I've observed in #angularjs.
2012-10-29 19:37:38 -07:00
Braden Shepherdson
66505ffc40
doc(faq): Fix minor spelling and wording errors
2012-10-29 19:37:29 -07:00
Igor Minar
045de959b9
chore(check-size.sh): fix rake target
2012-10-29 19:37:21 -07:00
Igor Minar
3ca11d5235
docs(contribute): add CLA note to code submission section
2012-10-19 09:15:34 -07:00
Igor Minar
d5d8ac01e3
docs(contribute): add visible link to github project
2012-10-19 09:15:34 -07:00
Igor Minar
ace81c053c
chore(validate-commit-msg): allow * and - in scope string
2012-10-18 03:29:12 -07:00
Igor Minar
1e95c419b8
chore(jasmine): remove Jasmine from our repo
...
it's bundled with Testacular, so we don't need it here
2012-10-18 03:29:12 -07:00
Igor Minar
49ed63d26a
chore(jstd): remove JsTestDriver from our repo
...
Testacular FTW!
2012-10-18 03:29:12 -07:00
Igor Minar
6ff2685668
docs(tutorial): replace JsTD with Testacular + drop snapshots
...
JsTD references have been replaced with Testacular stuff.
snapshots are PITA to maintain so I'm dropping them, everyone loves the Git
version anyway.
2012-10-18 02:34:27 -07:00
Igor Minar
c4573c04aa
chore(Rakefile): remove test_out dir when cleaning
2012-10-17 20:20:54 -07:00
Igor Minar
d57abdb3f7
chore(Rakefile): tune JVM for closure compiler
...
Using the client VM and forcing 32bit mode gives us huge perf boost.
before:
reali 0m8.173s
user 0m39.984s
sys 0m1.408s
after:
real 0m3.000s
user 0m12.687s
sys 0m0.852s
2012-10-17 20:20:53 -07:00