Przeglądaj źródła

Use shift to get name from replacedName

pull/691/head
Kieling 7 lat temu
rodzic
commit
10c3381141
2 zmienionych plików z 3 dodań i 3 usunięć
  1. +2
    -2
      mustache.js
  2. +1
    -1
      mustache.min.js

+ 2
- 2
mustache.js Wyświetl plik

@@ -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
Plik diff jest za duży
Wyświetl plik


Ładowanie…
Anuluj
Zapisz