mirror of
https://github.com/publiclab/image-sequencer.git
synced 2025-12-11 19:00:00 +01:00
Use browserify for ui js files and refactor ui js files (#668)
* changes * changes * changes
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
var urlHash = require('./urlHash.js');
|
||||
function IntermediateHtmlStepUi(_sequencer, step, options) {
|
||||
function stepUI() {
|
||||
return '<div class="row insertDiv">\
|
||||
@@ -112,7 +113,7 @@ function IntermediateHtmlStepUi(_sequencer, step, options) {
|
||||
.insertSteps(id + 1, newStepName).run({ index: id });
|
||||
|
||||
// add to URL hash too
|
||||
setUrlHashParameter("steps", _sequencer.toString());
|
||||
urlHash.setUrlHashParameter("steps", _sequencer.toString());
|
||||
|
||||
}
|
||||
|
||||
@@ -120,3 +121,5 @@ function IntermediateHtmlStepUi(_sequencer, step, options) {
|
||||
insertStep
|
||||
}
|
||||
}
|
||||
module.exports = IntermediateHtmlStepUi;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user