angular-docs-cn/modules/angular2
vsavkin 0eab4fc72c feat(core): extract platforms out of core
Currently, core depends on the browser, which means that other platforms (e.g., NativeScript or webworker) cannot use the bootstrapping logic core provides.
This PR extract makes bootstrapping logic in core completely platform-independent. The browser-specific code was moved to "angular2/platforms/browser".

BREAKING CHANGE

A few private helpers (e.g., platformCommon or applicationCommon) were removed or replaced with other helpers. Look at PLATFORM_COMMON_PROVIDERS, APPLICATION_COMMON_PROVIDERS, BROWSER_PROVIDERS, BROWSER_APP_PROVIDERS to see if they export the providers you need.

Closes #5219

Closes #5280
2015-11-13 19:26:14 +00:00
..
docs docs(*): more cheatsheet docs 2015-11-11 16:32:25 -08:00
examples feat(core): extract platforms out of core 2015-11-13 19:26:14 +00:00
manual_typings fix(core): Provide setDevMode() to enable/disable development mode in Javascript. 2015-11-06 07:07:04 +00:00
platform feat(core): extract platforms out of core 2015-11-13 19:26:14 +00:00
src feat(core): extract platforms out of core 2015-11-13 19:26:14 +00:00
test feat(core): extract platforms out of core 2015-11-13 19:26:14 +00:00
web_worker refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00
README.dart.md feat(publish): update files to publish to npm 2015-02-24 16:53:44 -08:00
README.js.md chore(build): remove es5build.js 2015-11-06 18:22:57 +00:00
angular2.dart Revert "feat(core): extract platforms out of core" 2015-11-12 13:40:29 -08:00
angular2.ts feat(core): extract platforms out of core 2015-11-13 19:26:14 +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(core): Fix typo 2015-10-26 17:52:42 +00: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 feat(core): extract platforms out of core 2015-11-13 19:26:14 +00:00
bootstrap_static.ts feat(core): extract platforms out of core 2015-11-13 19:26:14 +00:00
common.ts refactor(core): move directives, pipes, and forms into common 2015-11-05 23:00:32 +00:00
compiler.ts feat(core): extract platforms out of core 2015-11-13 19:26:14 +00:00
core.dart feat(core): extract platforms out of core 2015-11-13 19:26:14 +00:00
core.ts feat(core): extract platforms out of core 2015-11-13 19:26:14 +00:00
http.ts feat(di): change the params of Provider and provide to start with "use" 2015-10-12 21:09:09 +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 chore(core): move compiler out of core 2015-11-05 14:44:52 -08:00
package.json chore(package.json): remove typings bundles 2015-10-15 16:17:17 -07:00
profile.ts chore: update all import paths 2015-08-25 15:33:23 -07:00
pubspec.yaml refactor(compiler): make all commands const 2015-11-09 10:59:08 -08:00
render.ts refactor: export core APIs from angular2/core 2015-09-05 07:01:34 +00:00
router.ts refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00
test.ts refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
test_lib.ts refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
testing.ts for fixup - keep RootTestComponent around, but deprecate 2015-11-03 14:56:23 -08:00
testing_internal.ts refactor(test): rename test_lib to testing 2015-10-13 10:36:49 -07:00
tools.ts feat(perf): change detection profiler 2015-09-09 01:12:58 +00:00
tsconfig.json fix(setup): set tsconfig so that it works in editors 2015-11-09 08:43:15 -08:00
tsd.json refactor(NgZone): improve types 2015-10-09 23:54:31 +00:00
upgrade.ts chore(ngUpgrade): Move into Angular2 2015-10-31 20:48:27 -07:00

README.js.md

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.

License: Apache MIT 2.0