12 lines
214 B
JavaScript
12 lines
214 B
JavaScript
(function () {
|
|
'use strict';
|
|
|
|
const root = window.PixelIslandModules ||= {};
|
|
|
|
root.EditorActions = {
|
|
apply(snapshot, pushHistory, mutate) {
|
|
pushHistory(snapshot());
|
|
mutate();
|
|
}
|
|
};
|
|
})();
|