mirror of https://github.com/luileito/jsketch.git
Enforce consistency
This commit is contained in:
parent
99b790f926
commit
e60f672e2b
|
|
@ -84,8 +84,6 @@
|
|||
timestamp: (new Date).getTime(),
|
||||
// Save a pointer to the drawing canvas (jSketch instance).
|
||||
sketch: sketch,
|
||||
// Save a pointer to the drawing canvas (jSketch instance).
|
||||
sketchable: this,
|
||||
// Save also a pointer to the given options.
|
||||
options: options
|
||||
};
|
||||
|
|
|
|||
|
|
@ -207,7 +207,7 @@
|
|||
}
|
||||
|
||||
// Expose public API: all Sketchable instances will have these methods.
|
||||
deepExtend(instance, {
|
||||
deepExtend(Sketchable.prototype, {
|
||||
/**
|
||||
* Goes back to the previous CANVAS state, if available.
|
||||
* @memberof Sketchable
|
||||
|
|
|
|||
Loading…
Reference in New Issue