formatting js code to vim standards.
This commit is contained in:
parent
fbeff36687
commit
273fd25c06
8
vsms.js
8
vsms.js
|
@ -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…
Reference in New Issue
Block a user