mirror of https://github.com/luileito/jsketch.git
Return state
This commit is contained in:
parent
d3c1096ae9
commit
0d69f927d8
|
|
@ -138,6 +138,7 @@
|
|||
snapshot.onload = function() {
|
||||
draw(this, state.strokes);
|
||||
};
|
||||
return this;
|
||||
};
|
||||
/**
|
||||
* Init instance. Currently just (re)attach key event listeners.
|
||||
|
|
|
|||
|
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
"source": {
|
||||
"include": [
|
||||
"jsketch.js",
|
||||
"sketchable.js",
|
||||
"sketchable.utils.js",
|
||||
"sketchable.memento.js",
|
||||
"jquery.sketchable.js",
|
||||
"jquery.sketchable.memento.js",
|
||||
"README.md"
|
||||
]
|
||||
},
|
||||
"plugins": [
|
||||
"plugins/markdown"
|
||||
],
|
||||
"templates": {
|
||||
"cleverLinks": true,
|
||||
"minami": {
|
||||
"staticFiles": {
|
||||
"paths": ["./figs/"]
|
||||
}
|
||||
}
|
||||
},
|
||||
"opts": {
|
||||
"destination": "./docs",
|
||||
"template": "./node_modules/minami"
|
||||
}
|
||||
}
|
||||
|
|
@ -140,6 +140,7 @@
|
|||
snapshot.onload = function() {
|
||||
draw(this, state.strokes);
|
||||
};
|
||||
return this;
|
||||
};
|
||||
/**
|
||||
* Init instance. Currently just (re)attach key event listeners.
|
||||
|
|
|
|||
Loading…
Reference in New Issue