Igor Minar
fe5240732d
feat(strict mode): adding strict mode flag to all js files
...
the flag must be in all src and test files so that we get the benefit of
running in the strict mode even in jstd
the following script was used to modify all files:
for file in `find src test -name "*.js"`; do
echo -e "'use strict';\n" > temp.txt
cat $file >> temp.txt
mv temp.txt $file
done
2011-07-18 12:12:55 -07:00
Igor Minar
c02ef92630
fix:docs: fix $orderBy example and e2e test
2011-06-30 01:07:08 -07:00
Misko Hevery
b74163dc1d
fix:$orderBy - return unsorted array if no predicate
...
Closes #399
2011-06-23 08:12:01 -07:00
Misko Hevery
8cad231bd2
Refactor injector to have invoke method for speed reasons
2011-06-08 15:21:31 -07:00
Misko Hevery
bb67ee8d28
Added HashMap
2011-06-08 15:01:32 -07:00
Igor Minar
3069566073
api doc fixes from ken
2011-06-06 23:10:28 -07:00
Di Peng
9250fce19c
fixed opera date.toISOString issue
...
Closes #365
2011-06-03 09:44:21 -07:00
Igor Minar
1e59822df7
remove _null and _undefined
...
they have no significant effect on minified and gziped size. in fact
they make things worse.
file | before | after removal
----------------------------------------
concat | 325415 | 325297
min | 62070 | 62161
min + gzip | 25187 | 25176
The bottom line is that we are getting 0.05% decrease in size after
gzip without all of the hassle of using underscores everywhere.
2011-03-26 23:19:04 -07:00
Misko Hevery
4c762bfe5c
fix orberBy documentation error
2011-03-05 22:54:41 -08:00
Igor Minar
5bf7ff5a3e
fixing broken e2e tests
2011-03-03 13:50:12 -08:00
Misko Hevery
cdc093a463
reformated multiline trinary expressions to have a leading ?/:.
2011-02-16 08:59:57 -05:00
Misko Hevery
ba6b68b6ae
changed the documentation @example to use <doc:example>
2011-02-01 10:00:09 -08:00
Igor Minar
ad3b811b8b
fixes, examples and tests for angular.Object.* docs
2011-01-18 14:42:18 -08:00
Igor Minar
d3f7bd699e
various doc fixes for angular.Array.* apis + example and spec limitTo
2011-01-18 11:15:36 -08:00
Igor Minar
0a6cf70deb
Rename angular.foreach to angular.forEach to make the api consistent.
...
camelcase is used for other angular functions and forEach is also
used by EcmaScript standard.
- rename the internal as well as the external function name
- tweak the implementation of the function so that it doesn't
clober it self when we extend the angular object with an
object that has a forEach property equal to this forEach function
Closes #85
2011-01-10 10:26:55 -08:00
Igor Minar
8aed2047f0
fixing closure compiler warnings
2010-12-06 20:48:47 -08:00
Igor Minar
f60b6b0938
fix the angular.Array.orderBy example + add docs
2010-12-06 20:32:37 -08:00
Igor Minar
c8f34e7f6b
fixing lint warnings in older code
2010-12-06 16:45:59 -08:00
Igor Minar
7c82c4f837
docs for angular.Object and angular.Object.equals
2010-11-24 16:55:44 -08:00
Igor Minar
97b1371199
adding Note section to angular.Array.* where it was missing
2010-11-24 16:32:03 -08:00
Igor Minar
95d1768c77
docs for angular.Array.sum
2010-11-24 16:28:17 -08:00
Igor Minar
c3d99d68da
docs for angular.Array.filter
2010-11-23 17:14:04 -08:00
Igor Minar
303a683081
docs for angular.Array.remove
2010-11-23 16:28:24 -08:00
Igor Minar
a0e8c45880
docs for angular.Array.remove
2010-11-23 16:10:14 -08:00
Igor Minar
870547d185
docs for angular.Array.orderBy
2010-11-23 15:44:14 -08:00
Igor Minar
0d1f8a0532
docs for angular.Array.count
2010-11-23 14:10:10 -08:00
Igor Minar
b94600d71e
adding docs for angular.Array.add
2010-11-23 11:05:28 -08:00
Igor Minar
3e5a4ef86c
placeholder docs for all angular.Array functions
2010-11-22 10:57:44 -08:00
Igor Minar
efec0c358d
Add angular.Array.limitTo and docs for angular.Array
2010-11-22 10:57:32 -08:00
Igor Minar
fc9ce9ec07
make angular.String.toDate consider all time fractions as optional
2010-11-08 22:49:30 -08:00
Igor Minar
da17c61444
angular.Date.toString should use toISOString if available
2010-11-08 22:49:30 -08:00
Igor Minar
e5c135ac50
Support ISO 8601 extended datetime format troughout angular.
...
Support ISO 8601 extended format datetime strings (YYYY-MM-DDTHH:mm:ss.SSSZ) as defined
in EcmaScript 5 throughout angular. This means that the following apis switched from
YYYY-MM-DDTHH:mm:ssZ to YYYY-MM-DDTHH:mm:ss.SSSZ (note the added millis) when representing dates:
- angular.Date.toString
- angular.String.toDate
- JSON serialization and deserialization (used by json filter, $xhr and $resource)
2010-11-08 22:49:30 -08:00
Igor Minar
1a43f36e23
Add isDate method + fix old code
2010-11-08 22:49:29 -08:00
Misko Hevery
1d52349440
Reverted change 841013a4c4 which does not work on all browsers
2010-10-26 14:25:01 -07:00
Igor Minar
42855e4363
Simplify implementation of angular.String.toDate()
2010-10-26 13:47:50 -07:00
Misko Hevery
9171a2b2b5
Added support for functions to $orderBy method
...
http://github.com/angular/angular.js/issues#issue/23
2010-09-26 19:43:39 +02:00
Misko Hevery
5ddd8d9586
stringify names for better compression, remove dead functions, removed underscore.js compatibility
2010-08-18 17:26:33 -07:00
Misko Hevery
3d5719cd44
removed undocumented/unneeded methods from Array API
2010-08-11 11:44:12 -07:00
Misko Hevery
bebfbeac0a
fixed xhtml compatibility, fix console in chrome
2010-07-20 16:55:32 -07:00
Misko Hevery
7e96af0fdd
added equals method to angular.equals and $equals
2010-07-19 12:29:24 -07:00
Misko Hevery
81dac70e72
imrove $orderBy performance
2010-05-30 20:21:40 -07:00
Misko Hevery
1aa99c08e9
use expressionCompile function directly
2010-05-30 16:50:28 -07:00
Misko Hevery
ad18fe1442
compiler exposos both self and this function calling convention
2010-05-30 16:45:35 -07:00
Misko Hevery
c7d64f6d12
improve error handling with elements
2010-05-30 16:34:59 -07:00
Misko Hevery
0e88e35e5c
remove the uneeded call to createScope when evaluating expressions
2010-05-30 15:45:33 -07:00
Misko Hevery
843bd355d2
various bug fixes
2010-04-09 16:20:15 -07:00
Misko Hevery
e55c97deba
dissabled a lot of tests, and made the core test set pass.
2010-03-29 20:25:42 -07:00
Misko Hevery
258ca5f165
moved all uneeded files out, widgets.html works, tests horribly broken
2010-03-26 16:27:18 -07:00