summaryrefslogtreecommitdiff
path: root/templates/widget
diff options
context:
space:
mode:
authorDaniel Beauchamp <daniel.beauchamp@shopify.com>2012-08-08 18:02:56 -0400
committerDaniel Beauchamp <daniel.beauchamp@shopify.com>2012-08-08 18:06:58 -0400
commit780fe49f715c2fced88e958b02541bf8e7dca934 (patch)
tree7cd147e96913c9f95cda54f4bd341d0630e34c66 /templates/widget
parentcdd8ff258582f5eba7e3941a5a18007e7aabbbfa (diff)
Rename project to 'Dashing', and do some other cleanups
Diffstat (limited to 'templates/widget')
-rw-r--r--templates/widget/%name%/%name%.coffee.tt5
-rw-r--r--templates/widget/%name%/%name%.html1
2 files changed, 3 insertions, 3 deletions
diff --git a/templates/widget/%name%/%name%.coffee.tt b/templates/widget/%name%/%name%.coffee.tt
index 5ddfb1b..9105f9a 100644
--- a/templates/widget/%name%/%name%.coffee.tt
+++ b/templates/widget/%name%/%name%.coffee.tt
@@ -1,5 +1,4 @@
-class AllTheThings.<%= Thor::Util.camel_case(name) %> extends AllTheThings.Widget
- source: '<%= name %>'
+class Dashing.<%= Thor::Util.camel_case(name) %> extends Dashing.Widget
ready: ->
# This is fired when the widget is done being rendered
@@ -7,5 +6,5 @@ class AllTheThings.<%= Thor::Util.camel_case(name) %> extends AllTheThings.Widge
onData: (data) ->
# Handle incoming data
# You can access the html node of this widget with `@node`
- # Example: $(@node).effect("pulsate") will make the node flash each time data comes in.
+ # Example: $(@node).fadeOut().fadeIn() will make the node flash each time data comes in.
super \ No newline at end of file
diff --git a/templates/widget/%name%/%name%.html b/templates/widget/%name%/%name%.html
index e69de29..789f2e3 100644
--- a/templates/widget/%name%/%name%.html
+++ b/templates/widget/%name%/%name%.html
@@ -0,0 +1 @@
+<div data-bind="value"></div> \ No newline at end of file