Upgrade to ExtJS 4.0.0 - Released 04/26/2011
[extjs.git] / src / core / examples / src / Sample / ability / CanComposeSongs.js
diff --git a/src/core/examples/src/Sample/ability/CanComposeSongs.js b/src/core/examples/src/Sample/ability/CanComposeSongs.js
new file mode 100644 (file)
index 0000000..a6e86e8
--- /dev/null
@@ -0,0 +1,9 @@
+Ext.define('Sample.ability.CanComposeSongs', {
+    canComposeSongs: true,
+
+    composeSongs: function() {
+        alert(this.getName() + " is composing songs");
+
+        return this;
+    }
+});
\ No newline at end of file