formatting js code to vim standards.

master
Ozbolt Menegatti 5 years ago
parent fbeff36687
commit 273fd25c06

@ -1,4 +1,4 @@
var _code = { var plugin_code = {
prevodi: [], prevodi: [],
zgledi: [], zgledi: [],
vecjez: [], vecjez: [],
@ -194,7 +194,7 @@ change: function(el, func_after) {
// remove -- // remove --
while (value.startsWith('-') || value.startsWith(' ')) { while (value.startsWith('-') || value.startsWith(' ')) {
value = value.substring(1, ); value = value.substring(1);
} }
// write into xml // write into xml
@ -555,9 +555,9 @@ harvester: function(div) {
} }
function plugin_render(div, entry) { function plugin_render(div, entry) {
_code.editor(div, entry, true); plugin_code.editor(div, entry, true);
} }
function plugin_save(div) { function plugin_save(div) {
_code.harvester(div, entry, true); plugin_code.harvester(div, entry, true);
} }

Loading…
Cancel
Save