Pārlūkot izejas kodu

Use shift to get name from replacedName

pull/691/head
Kieling pirms 7 gadiem
vecāks
revīzija
10c3381141
2 mainītis faili ar 3 papildinājumiem un 3 dzēšanām
  1. +2
    -2
      mustache.js
  2. +1
    -1
      mustache.min.js

+ 2
- 2
mustache.js Parādīt failu

@@ -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
Failā izmaiņas netiks attēlotas, jo tās ir par lielu
Parādīt failu


Notiek ielāde…
Atcelt
Saglabāt