mirror of
https://github.com/konvajs/konva.git
synced 2025-09-18 18:27:58 +08:00
Merge pull request #329 from Rulexec/master
Thorfile typo fix and chainable on/off.
This commit is contained in:
2
Thorfile
2
Thorfile
@@ -150,7 +150,7 @@ class Build < Thor
|
||||
content.gsub!("{{version}}", version)
|
||||
content.sub!("{{date}}", date)
|
||||
content.gsub!("{{NodeParams}}", IO.read("configParams/NodeParams.txt"))
|
||||
content.gsub!("{{ContainerParams}}", IO.read("configParams/ContainerParams.txt"))
|
||||
content.gsub!("{{ContainerParams}}", IO.read("configParams/containerParams.txt"))
|
||||
content.gsub!("{{ShapeParams}}", IO.read("configParams/ShapeParams.txt"))
|
||||
|
||||
return content
|
||||
|
@@ -98,6 +98,7 @@
|
||||
*/
|
||||
beforeDraw: function(func) {
|
||||
this.beforeDrawFunc = func;
|
||||
return this;
|
||||
},
|
||||
/**
|
||||
* set after draw handler
|
||||
@@ -107,6 +108,7 @@
|
||||
*/
|
||||
afterDraw: function(func) {
|
||||
this.afterDrawFunc = func;
|
||||
return this;
|
||||
},
|
||||
/**
|
||||
* get layer canvas
|
||||
|
@@ -52,6 +52,7 @@
|
||||
handler: handler
|
||||
});
|
||||
}
|
||||
return this;
|
||||
},
|
||||
/**
|
||||
* remove event bindings from the node. Pass in a string of
|
||||
@@ -89,6 +90,7 @@
|
||||
delete this.eventListeners[baseEvent];
|
||||
}
|
||||
}
|
||||
return this;
|
||||
},
|
||||
/**
|
||||
* remove child from container, but don't destroy it
|
||||
|
Reference in New Issue
Block a user