58 Commits

Author SHA1 Message Date
Patrice Chalin
557200be4f e2e(router): fix test for canceling of crisis detail change ()
- Await for alert dialog and use it in test for canceling crisis detail change.
- Tests now use async/await. It makes them easier to read.
- Remove "money patch" alerter comment.
2017-03-16 16:34:28 +00:00
Jesús Rodríguez
e6741efd8f chore: remove moduleId from examples ()
* chore: remove moduleId from examples

* add support for testing and plunkers

* delete component-relative cookbook

* latest touches

* ward teaks and travis fixes

* fix typo in style-guide
2017-03-14 12:30:37 +01:00
Patrice Chalin
a8ad96eb16 docs(template-syntax): code fixes and copyedits ()
- onSave "no propagation" case _was_ propagating. Fixed.
- `firstName` --> `name` (a few were missed during a previous edit).
- Hercules had a _rate_ of 325, not an id; fixed so it matches figure.
- Missing closing `</div>` in form HTML
- Prose: fix json representation of Hercules (since Hero class has changed).
- Added missing AppComponent properties used in template but not declared in class; which will likely result in errors when compiled with AOT.
- Some "back to top" were not formatted properly after a figure.
- Copyedits, e.g., Angular modules such the --> such as the
- Removed Jade blocks no longer used by Dart.
2017-03-09 12:13:17 -08:00
Ward Bell
f24b830c8a docs(template-syntax/structural-directives): refresh both guides for style, accuracy, understanding ()
Move details of structural directives from template-syntax to structural-directives guide
Add <ng-container> to structural-directives
Fix samples in both guides
Touch up glossary
Better conformance to google doc guidelines: we->you
closes , 
2017-02-06 19:06:13 -08:00
Filipe Silva
1101f07ef2 refactor: add src folder ()
* boilerplate, gulpfile, quickstart

* move ts files up to cookbooks

* move rest of ts files

* fix tsconfig, default build task, json file

* fix js examples

* fix webpack example

* remove a2docs.css references

* fix aot examples

* fix webpack run task

* fix cb-i18n

* fix upgrade examples

* fix unit tests

* fix comment in deployment index

* removed unused typings.json

* fix plunkers

* fix js example paths

* fix ts quickstart/setup prose

* add src folder note to setup

* broadly replace app/ -> src/app/

* broadly replace main.ts

* broadly replaced index.html

* broadly replace tsconfig

* replace systemjs

* fix filetrees

* Minor prose fixes to aot, i18n cookbooks

* remove char harp was complaining about

* update new reactive forms example

* fix quickstart jade error

* fix mistakes uncovered by CI

* fix bad filename errors

* edit style guide 04-06 rule to use src

* add changelog

* Incorporate Jesus's feedback

* fix snippet headers in toh1/2

* chore: tweak changelog and setup text
2017-02-02 19:38:17 +01:00
Jesús Rodríguez
8811094954 docs(testing): fix plunkers shim () 2017-01-31 12:52:43 -08:00
Jesús Rodríguez
1b78cc4f35 chore: add base href to all examples () 2017-01-28 00:38:34 +01:00
Ward Bell
48fb6adc42 docs(template-syntax): ngClass and ngStyle binding examples not horrible ()
closes , whose criticism prompted these changes.
2017-01-05 12:12:32 -08:00
Filipe Silva
4ec1736f18 chore: convert relative templateUrl/styleUrls to have ./ 2017-01-04 19:02:19 +00:00
Filipe Silva
0f3d5810a8 chore(deps): remove reflect-metadata ()
Blocked on https://github.com/angular/in-memory-web-api/pull/86

As per https://github.com/zloirock/core-js/issues/152, `core-js` already includes `reflect-metadata`.
2017-01-02 21:15:24 +00:00
Patrice Chalin
64a8754386 example(template-syntax): follow style-guide and other updates () 2016-11-10 20:01:36 -08:00
Ward Bell
8fafa8a01e docs(plunkers): prepare plunkers for the quickstart reboot ()
* plunker builder removes files and scripts not needed in plunkers (e.g., systemjs.config.js)
* no longer adds placeholder README.md (deemed a distraction)
* tag is now "Angular" instead of "Angular2"
* new plnkr.json "includeSystemConfig" option adds systemjs.config.js back; needed for testing plnkrs.
* incidentally changes comment "Polyfill(s)" to "Polyfills" in all index.html
2016-11-05 12:53:47 -07:00
Filipe Silva
c426e57818 fix(e2e): remove invalid syntax usage () 2016-10-28 01:08:43 +01:00
Ward Bell
870ce124d2 docs(template-syntax): explain basic two-way binding ()
closes issue 
2016-10-20 10:56:17 -07:00
Ward Bell
6def9505cc chore: convert templateUrls to use moduleId where possible. () 2016-09-25 18:51:54 -07:00
Filipe Silva
0c962712b3 chore: update to rc6 () 2016-08-31 18:08:57 -07:00
Drew Hintz
5b09914550 chore: better compression of images using zopfli
closes 
2016-08-26 10:19:12 -07:00
Peter Bacon Darwin
d79adb2422 docs(rc5): update docs and plunkers for rc5 2016-08-09 11:48:07 -07:00
Filipe Silva
aa8ab52937 chore: update to rc.4 2016-06-30 12:40:01 -07:00
Filipe Silva
58d20e57b5 chore: update ngSwitchWhen to ngSwitchCase
See https://github.com/angular/angular/commit/e1fcab7
2016-06-28 12:52:47 -07:00
Filipe Silva
e9cf2a539f chore: update to rc2 2016-06-15 12:21:06 -07:00
Foxandxss
074a33a622 chore: tslint sweep done 2016-06-13 02:40:28 +02:00
Foxandxss
f3205f5beb chore: first sweep on linting the codebase
closes 
2016-06-07 16:45:13 -07:00
Ward Bell
ae2d8f2730 docs(template-syntax): add brief example of HTML sanitization in binding.
Also clarified interpolation v. property binding example for PR 
2016-05-31 18:36:22 -07:00
Patrice Chalin
a664f46231 docs(template-syntax): review and update Dart to new doc design ()
* ts template-syntax.jade without docregion tags
* update guide/template-syntax for dart and ts
* clarify style property naming in Dart
2016-05-25 15:09:45 -07:00
Ward Bell
ba02c40b56 docs: switch from es6-shim to core-js shim 2016-05-19 16:37:54 -07:00
Ward Bell
e99e9185ba docs(index.html) remove extra space in System.importline. 2016-05-11 18:42:31 -07:00
Foxandxss
596825a8b1 docs: update all docs to partially comply the style-guide 2016-05-03 12:42:44 -06:00
Ward Bell
3d5302adce chore: update to rc.0 2016-05-02 19:57:28 -07:00
Filipe Silva
216120daba chore: update to beta.17
closes , 1205
2016-04-28 18:31:00 -07:00
Foxandxss
4097c67b59 chore: rename Elvis to safe navigation operator
closes 
2016-04-23 14:22:57 -07:00
Ward Bell
ad7f172ea5 docs: share 'styles.css' across all samples all langs; fix styles 2016-02-28 12:47:01 -08:00
Ward Bell
524ff05373 chore: add shims_for_IE.js to all index.html 2016-02-25 14:04:37 -08:00
Ward Bell
157d6d48cc docs(template syntax): improvements based on review feedback Feb 16
closes 
2016-02-19 00:38:17 -08:00
Ward Bell
ee5a4e131a docs(template-syntax): add TOC, NgSwitch, and NgForTrackBy - TS/Dart 2016-02-16 11:03:02 -08:00
Ward Bell
030653cef3 chore: add "mobile-optimized" <meta> tag to all sample index.html 2016-02-03 15:59:46 -08:00
Ward Bell
593167eb79 docs(template-syntax): typos found by Deb K 2016-01-30 13:28:18 -08:00
Kathy Walrath
dd0d822cbc docs(guide/template-syntax): copy edit TypeScript version
Also update some samples. This PR replaces  & .
2016-01-28 18:31:01 -08:00
Ward Bell
79d3d9f0ad docs(samples): convert boot.ts -> main.ts
plus router text fix and missed beta.2 update to QS.js
closes 
2016-01-28 17:32:38 -08:00
Ward Bell
7c2cd81949 docs(template-syntax): delete button crosses out hero name
closes 
2016-01-27 18:59:41 -08:00
Ward Bell
034a5a6943 docs(template-syntax): Clarify input/output aliasing syntax
closes 
2016-01-19 00:01:31 -08:00
Ward Bell
7ed0fce10d docs: add IE polyfills to all samples; update QS and Router to explain
closes 
2016-01-17 20:32:59 -08:00
Ward Bell
0f5294e32c docs(template-syntax): sample/devmode fix + text updates
closes 
2016-01-13 00:54:03 -08:00
Ward Bell
0b466a239d docs(*) migrate index.htmls for release
closes 
2015-12-15 12:19:30 -08:00
Ward Bell
0c1d7ca3cb docs(router): new chapter
Ward and Jeremy
Todo: EXCLUDE Old router doc for reference while re-writing
2015-12-15 11:35:11 -08:00
Ward Bell
6dc9e5d10b docs(Template Syntax): correct minor oversights in a.53 update
closes 
2015-12-13 22:31:33 -08:00
Ward Bell
7cf097ea68 docs(Template Syntax): update to a.53 (kebab work)
closes 
2015-12-13 20:15:52 -08:00
Jay Traband
296b501483 chore(devguide-tooling): add enforce-example-boilerplate gulp task
closes  and 479
removal all package.json from _example subdirs and add an example-config.json to each. Update add-example-symlinks to use new fns
updated gitignore, package.json
add tests to QuickStart
2015-12-12 13:57:18 -08:00
Ward Bell
9fc5143dc9 chore: .gitignore of all TS samples should exclude all .js files
closes 
2015-12-10 08:27:14 -08:00
Jay Traband
0018e75d01 chore(devguide-tooling): node_modules symlink support for _examples and subdirs
closes .  READ COMMENTS IN PR450 FOR INSTRUCTIONS ON USAGE
We'll put these instructions some place better soon.

Also replace globule with globby ( perf issues) and explicitly exclude node_modules where possible.
Updated _examples/package.json for latest 3rd party libs (e.g. alpha.48) and
updated template-syntax/ts/package.json to be a prototypical example
2015-12-08 14:27:39 -08:00