Skip to content
This repository has been archived by the owner on Feb 22, 2018. It is now read-only.

Attach is called before all the setters #1059

Closed
irfantusneem opened this issue May 21, 2014 · 0 comments
Closed

Attach is called before all the setters #1059

irfantusneem opened this issue May 21, 2014 · 0 comments

Comments

@irfantusneem
Copy link

controller.isAttachAware should be before checking mappings.

    if (controller is AttachAware) {
      var taskId = tasks.registerTask();
      Watch watch;
      watch = scope.watch('1', // Cheat a bit.
          (_, __) {
        watch.remove();
        tasks.completeTask(taskId);
      });
    }

    if (ref.mappings.isNotEmpty) {
      if (nodeAttrs == null) nodeAttrs = new _AnchorAttrs(ref);
      _createAttrMappings(controller, scope, ref.mappings, nodeAttrs, formatters, tasks);
    }
@jbdeboer jbdeboer self-assigned this May 22, 2014
dsalsbury pushed a commit to dsalsbury/angular.dart that referenced this issue Jul 16, 2014
dsalsbury pushed a commit to dsalsbury/angular.dart that referenced this issue Jul 16, 2014
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

2 participants