Sfoglia il codice sorgente

Use shift to get name from replacedName

pull/691/head
Kieling 7 anni fa
parent
commit
10c3381141
2 ha cambiato i file con 3 aggiunte e 3 eliminazioni
  1. +2
    -2
      mustache.js
  2. +1
    -1
      mustache.min.js

+ 2
- 2
mustache.js Vedi File

@@ -406,8 +406,8 @@
.replace(new RegExp(spaceRe, "g"),'')
.split(pipelineRe)

pipelines = replacedName.slice(1);
name = replacedName[0];
name = replacedName.shift();
pipelines = replacedName;

var cache = this.cache;
var value


+ 1
- 1
mustache.min.js
File diff soppresso perché troppo grande
Vedi File


Loading…
Annulla
Salva