angular/modules/angular2
Michał Gołębiowski 9679fc94f6 fix(shims): Don't rely on prefixed requestAnimationFrame
The `ms` & `moz` prefixes are not needed. `ms` was never available in a public
IE release (IE 10 has an unprefixed version) and Firefox has unprefixed
rAF since v24 - current version is 41. Even more, Firefox versions below 22
don't have cancelAnimationFrame so it's better to not use the prefixed version
at all to avoid surprises.

The `o` prefix is also useless - Opera Presto never had rAF and the
Chromium-based Opera doesn't use the `o` prefix.

Also, switched from `new Date().getTime()` to `Date.now()` as it's supported
everywhere (even in Android 2.3) except IE<9 and it avoids a useless date
object construction.

See http://caniuse.com/#feat=requestanimationframe for more info.

Refs 4f56a01b3b

Closes #4394
2015-10-06 09:38:49 -07:00
..
docs chore(build): replace traceur-runtime with es6-shim. 2015-09-14 21:02:29 +00:00
examples docs(examples): add empty examples directory for api docs examples 2015-09-23 21:30:17 +00:00
manual_typings chore(typings): remove StringMap 2015-10-03 01:09:42 +00:00
src fix(shims): Don't rely on prefixed requestAnimationFrame 2015-10-06 09:38:49 -07:00
test fix(typings): repair broken typechecks 2015-10-06 13:28:17 +00:00
web_worker refactor(core): move core/compiler to core/linker, adjust imports 2015-10-02 08:42:12 -07:00
angular2.dart refactor(core): move APP_ID from render/dom/dom_tokens into application_tokens 2015-10-02 13:38:52 -07:00
angular2.ts fix(api): remove animation from public API 2015-09-15 18:12:05 +00:00
angular2_sfx.dart style(dart): Format Dart source with dart_style 0.1.8 2015-05-29 10:42:47 -07:00
angular2_sfx.ts fix(sfx): Include ngHttp in SFX bundle 2015-09-18 09:07:31 -07:00
animate.ts feat(animate): adds basic support for CSS animations on enter and leave 2015-09-14 17:37:09 +00:00
bootstrap.ts refactor: export core APIs from angular2/core 2015-09-05 07:01:34 +00:00
bootstrap_static.dart refactor: export core APIs from angular2/core 2015-09-05 07:01:34 +00:00
core.dart refactor(core): move core/compiler to core/linker, adjust imports 2015-10-02 08:42:12 -07:00
core.ts refactor(core): move core/compiler to core/linker, adjust imports 2015-10-02 08:42:12 -07:00
http.ts docs(http): add docs and examples for JSONP_BINDINGS 2015-09-21 22:20:58 +00:00
lifecycle_hooks.ts refactor(core): move core/compiler to core/linker, adjust imports 2015-10-02 08:42:12 -07:00
mock.ts refactor(core): adjust imports for move files to the right place 2015-10-02 13:38:51 -07:00
package.json chore: remove traceur from package.json published to npm 2015-10-05 02:47:49 +00:00
profile.ts chore: update all import paths 2015-08-25 15:33:23 -07:00
pubspec.yaml refactor(transformer): precompile stylesheets 2015-10-01 18:48:27 -07:00
README.dart.md feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
README.js.md fix(npm): update scripts and readme for npm packages. 2015-06-09 11:39:08 -07:00
render.ts refactor: export core APIs from angular2/core 2015-09-05 07:01:34 +00:00
router.ts docs(router): improve documentation for router bindings 2015-09-23 00:47:15 +00:00
test.ts refactor: export core APIs from angular2/core 2015-09-05 07:01:34 +00:00
test_lib.ts fix(Typings): Remove public exports added in 1926335b85 2015-09-11 19:16:57 -07:00
tools.ts feat(perf): change detection profiler 2015-09-09 01:12:58 +00:00
tsconfig.json fix(tsconfig): target should be lower case 2015-07-08 16:07:25 -07:00
tsd.json chore(typings): remove traceur-runtime.d.ts 2015-09-30 00:07:16 +00:00

Angular2

The sources for this package are in the main Angular2 repo. Please file issues and pull requests against that repo. This is the repository for the upcoming 2.0 version. If you're looking for the current official version of Angular you should go to angular/angular.js

This package contains different sources for different users:

  1. The files located in the root folder can be consumed using CommonJS.
  2. The files under /es6 are es6 compatible files that can be transpiled to es5 using any transpiler. This contains:
    • dev/: a development version that includes runtime type assertions
    • prod/: a production version that does not include runtime type assertions
  3. The files under /ts are the TypeScript source files.

As a convenience, we provide you with /es6/{dev|prod}/es5build.js, a script to transpile the es6 sources into es5 using Google Traceur.

License: Apache MIT 2.0