angular-cn/modules/angular2
vsavkin 79994b2abf refactor(forms): use multibindings instead of query to get a list of validators
BREAKING CHANGE

Before:

@Directive({selector: '[credit-card]', bindings: [new Binding(NgValidator, {toAlias: forwardRef(() => CreditCardValidator)})]})
class CreditCardValidator {
  get validator() { return CreditCardValidator.validate; }
  static validate(c): StringMap<string, boolean> {...}
}

After:

function creditCardValidator(c): StringMap<string, boolean> {...}
@Directive({selector: '[credit-card]', bindings: [new Binding(NG_VALIDATORS, {toValue: creditCardValidator, multi: true})]})
class CreditCardValidator {}
2015-09-03 15:18:18 +00:00
..
docs feat(core): remove the (^ syntax and make all DOM events bubbling 2015-09-01 15:54:47 +00:00
src refactor(forms): use multibindings instead of query to get a list of validators 2015-09-03 15:18:18 +00:00
test refactor(forms): use multibindings instead of query to get a list of validators 2015-09-03 15:18:18 +00:00
web_worker feat(WebWorker): Expose MessageBroker API 2015-09-01 23:53:54 +00: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
angular2.dart feat(bootstrap): remove the need for explicit reflection setup in bootstrap code 2015-07-22 17:02:32 -07:00
angular2.ts chore(build): Add WebWorker bundle. 2015-08-28 20:40:16 +00:00
angular2_exports.ts chore(build): Add WebWorker bundle. 2015-08-28 20:40:16 +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 feat(typings): allow defining custom namespace for bundle 2015-08-10 12:59:35 -07:00
bootstrap.ts refactor: rename annotations to metadata 2015-08-17 21:23:25 +00:00
bootstrap_static.dart feat(bootstrap): remove the need for explicit reflection setup in bootstrap code 2015-07-22 17:02:32 -07:00
change_detection.ts refactor(change_detection): introduce enum ChangeDetectionStrategy 2015-08-27 21:41:46 -07:00
core.dart chore: update all import paths 2015-08-25 15:33:23 -07:00
core.ts chore(di): do not double export DI 2015-09-01 13:28:15 -07:00
debug.ts chore: update all import paths 2015-08-25 15:33:23 -07:00
di.ts chore: update all import paths 2015-08-25 15:33:23 -07:00
di_errors.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
di_metadata.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
di_transformer.dart feat(transformers): expose DI transformer for use by packages 2015-07-14 16:59:03 -07:00
directives.ts chore(ts2dart): replace List with Array 2015-08-31 21:32:10 +00:00
forms.ts refactor(forms): use multibindings instead of query to get a list of validators 2015-09-03 15:18:18 +00:00
globals.d.ts chore(ts2dart): replace List with Array 2015-08-31 21:32:10 +00:00
http.ts chore(http.d.ts): have http properly reexport core types 2015-09-01 13:28:15 -07:00
metadata.dart refactor: rename annotations to metadata 2015-08-17 21:23:25 +00:00
metadata.ts feat(core): added afterContentInit, afterViewInit, and afterViewChecked hooks 2015-08-31 17:16:54 +00:00
mock.ts chore: update all import paths 2015-08-25 15:33:23 -07:00
package.json chore: add repository field to npm package.json files 2015-08-14 18:09:52 +00:00
pipes.ts chore: update all import paths 2015-08-25 15:33:23 -07:00
profile.ts chore: update all import paths 2015-08-25 15:33:23 -07:00
pubspec.yaml refactor(transform): Remove reflection_entry_points parameter 2015-08-31 13:02:29 -07:00
render.ts chore: update all import paths 2015-08-25 15:33:23 -07:00
router.ts chore(ts2dart): replace List with Array 2015-08-31 21:32:10 +00:00
test.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01:00
test_lib.ts refactor(tests): removed @IMPLEMENTS 2015-08-26 15:06:25 -07:00
traceur-runtime.d.ts chore(ts2dart): replace List with Array 2015-08-31 21:32:10 +00:00
tsconfig.json fix(tsconfig): target should be lower case 2015-07-08 16:07:25 -07:00
tsd.json chore(build): enable type-checking for TypeScript ES6 emit. 2015-08-06 16:57:52 -07:00
view.ts chore(doc-gen): remove unnecessary `@public` and `@exportedAs` tags 2015-07-11 07:21:46 +01: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.

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