Last active
December 16, 2015 15:59
Revisions
-
hatched revised this gist
Apr 25, 2013 . 1 changed file with 6 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,15 +1,15 @@ YUI.add('testplugin', function(Y) { var MyPlugin = Y.Base.create('testplugin', Y.Plugin.Base, [], { initializer : function() { this.objectProperty = { def1: "foo", def2: "bar" } } }, { NS : 'testplugin' }); -
nhusher revised this gist
Apr 25, 2013 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ YUI.add('testplugin', function(Y) { }, initializer : function() { this.objectProperty = Y.Object.create(MyPlugin.prototype.objectProperty); this.objectProperty.name = 'nobody'; } }, { -
nhusher created this gist
Apr 25, 2013 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,17 @@ YUI.add('testplugin', function(Y) { var MyPlugin = Y.Base.create('testplugin', Y.Plugin.Base, [], { objectProperty : { def1: "foo", def2: "bar" }, initializer : function() { this.objectProperty = Y.Object.create(MyPlugin.prototype); this.objectProperty.name = 'nobody'; } }, { NS : 'testplugin' }); }, '0.0.1', {requires: ['base-build', 'plugin']});