angular-cn/modules/angular2/examples
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
..
animate/ts docs(examples): add empty examples directory for api docs examples 2015-09-23 21:30:17 +00:00
core/ts feat(core): extract platforms out of core 2015-11-13 19:26:14 +00:00
http/ts docs(examples): add empty examples directory for api docs examples 2015-09-23 21:30:17 +00:00
router/ts refactor(core): move facades out of core 2015-11-07 01:36:06 +00:00
web_workers/ts docs(examples): add empty examples directory for api docs examples 2015-09-23 21:30:17 +00:00
README.md chore(examples): explain the purpose of these examples 2015-10-30 14:27:47 -07:00

README.md

API Examples

This folder contains small example apps that get in-lined into our API docs. These examples are written with idiomatic TypeScript, and are not transpiled to Dart. Each example contains tests for application behavior (as opposed to testing Angular's behavior) just like an Angular application developer would write.