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