Some attributes have a JSON format

On 04/29/2014 01:21 AM, jrote1 wrote:
>
> In lib/directive/ng_model_options.dart:
>
> > +part of angular.directive;
> > +
> > +@Decorator(selector: 'input[ng-model-options]')
> > +class NgModelOptions {
> > +  int _debounceDefaultValue = 0;
> > +  int _debounceBlurValue;
> > +  int _debounceChangeValue;
> > +  int _debounceInputValue;
> > +
> > +  static const String _DEBOUNCE_DEFAULT_KEY = "default";
> > +  static const String _DEBOUNCE_BLUR_KEY = "blur";
> > +  static const String _DEBOUNCE_CHANGE_KEY = "change";
> > +  static const String _DEBOUNCE_INPUT_KEY = "input";
> > +
> > +  NgModelOptions(NodeAttrs attrs) {
> > +    Map options = convert.JSON.decode(attrs["ng-model-options"].replaceFirst("debounce", "'debounce'").replaceAll("'", "\""));
>
> what should i check ng-pluralize for?
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/angular/angular.dart/pull/974/files#r12073468>.
>