Giter Site home page Giter Site logo

ng-darrrt-codelab's Introduction

ng-darrrt-codelab's People

Contributors

a14n avatar blacroix avatar brracula avatar butlermatt avatar chalin avatar douglasduteil avatar ggirou avatar kwalrath avatar nfrancois avatar sethladd avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ng-darrrt-codelab's Issues

ShadowDom problem on FF with AngularDart

From: https://code.google.com/p/dart/issues/detail?id=16403

(blois)- appears that the ShadowDOM polyfill is not included by default.

Reported by alexandre.ardhuin, Yesterday (21 hours ago)
Trying to run https://github.com/dartlangfr/ng-darrrt-codelab/tree/master/web/4-extractcomponent/piratebadge.html in Js I get the following error on Firefox 26.0 / Linux:

Error: TypeError: receiver.webkitCreateShadowRoot is undefined

The problem appears when I use a @NgComponent.

I'm on Dart Editor version 1.2.0.dev_01_00 (DEV) and you can find my pubspec.lock attached.

Redirect people to angular/ng-darrrt-codelab

Hi @ggirou, @a14n, et alβ€”

Would it be possible to retire this site, and instead refer people to https://github.com/angular/ng-darrrt-codelab/blob/master/README.md#code-lab-angulardart?

I apologize for kind of sideswiping your site. (We didn't anticipate that, but we were in such a hurry that we had to fork.) You are, of course, very welcome to contribute to the angular fork of this site, although please wait for Shailen's redo of the samples to land. (You can see his changes here: https://github.com/angular/ng-darrrt-codelab/tree/revamp.)

Please let me know how you'd like to proceed. Also... Did you get any interesting results from your survey? I'd love to know your traffic #s too. (I don't have access to https://github.com/dartlangfr/ng-darrrt-codelab/graphs/traffic.)

Thanks very much for all your help with introducing developers to AngularDart!

Write some tests ?

The angular tutorial contains some tests. What do you think about adding some tests to this codelab ?

Add mirrorsused in all your code

Hi,

To get the code size down, please add this to all of your entry points:

@MirrorsUsed(override: '*')
import 'dart:mirrors';

We will go do the same for our tutorial.

(This should go whereever main() is)

Thanks!

Simplify Step 5

Can we simplify and not use getters and setters from PirateName to the controller fields?

class BadgesController {
  // ...
  String get name => _name._firstName;
  set name(String value) {
    _name = new PirateName(firstName: value);
  }

  String get pirateName => _name.pirateName;
  // ...
}

could just be:

class BadgesController {
  PirateName pirateName;
}

The version in the code lab looks too verbose :(

Thoughts?

Rename component publishAs to cmp

I have a suggestion, just for clarity sake (particularly anyone viewing this without a presenter). Particularly in Step 4, consider rename the component's scope to cmp (short for component) instead of using ctrl (controller) to make it clear that the moustache bindings in badge_component.html are referring to the BadgeComponent class and not the BadgesController.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.