Skip to content

Instantly share code, notes, and snippets.

@ccapndave
Created June 6, 2012 21:35
Show Gist options
  • Select an option

  • Save ccapndave/2884967 to your computer and use it in GitHub Desktop.

Select an option

Save ccapndave/2884967 to your computer and use it in GitHub Desktop.
MyApp.views.FriendSelectorView = $hxClasses['MyApp.views.FriendSelectorView'] = Ember.View.extend();
MyApp.views.FriendSelectorView.prototype.friendsBinding = null;
MyApp.views.FriendSelectorView.prototype.friends = null;
MyApp.views.FriendSelectorView.prototype.init = function() {
this._set_template(Ember.Handlebars.compile(haxe.Resource.getString("friendSelector.html")));
this._set_friendsBinding(Ember.Binding.single("MyApp.passController.friends"));
Ember.View.prototype.init.call(this);
};
MyApp.views.FriendSelectorView.prototype._get_friendsBinding = function() {
return this.get("friendsBinding");
};
MyApp.views.FriendSelectorView.prototype._set_friendsBinding = function(value) {
return this.set("friendsBinding",value);
};
MyApp.views.FriendSelectorView.prototype._get_friends = function() {
return this.get("friends");
};
MyApp.views.FriendSelectorView.prototype._set_friends = function(value) {
return this.set("friends",value);
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment