mirror of
https://github.com/harttle/liquidjs.git
synced 2026-09-15 04:10:40 -07:00
3.1.2
This commit is contained in:
Vendored
+4
-2
@@ -632,7 +632,9 @@ module.exports = function (options) {
|
||||
while (match = valueRE.exec(argList.trim())) {
|
||||
var v = match[0];
|
||||
var re = new RegExp(v + '\\s*:', 'g');
|
||||
re.test(match.input) ? args.push('\'' + v + '\'') : args.push(v);
|
||||
var keyMatch = re.exec(match.input);
|
||||
var currentMatchIsKey = keyMatch && keyMatch.index === match.index;
|
||||
currentMatchIsKey ? args.push('\'' + v + '\'') : args.push(v);
|
||||
}
|
||||
|
||||
this.name = name;
|
||||
@@ -2391,7 +2393,7 @@ module.exports = function (liquid) {
|
||||
var Liquid = require('..');
|
||||
var lexical = Liquid.lexical;
|
||||
var withRE = new RegExp('with\\s+(' + lexical.value.source + ')');
|
||||
var staticFileRE = /\S+/;
|
||||
var staticFileRE = /[^\s,]+/;
|
||||
var assert = require('../src/util/assert.js');
|
||||
|
||||
module.exports = function (liquid) {
|
||||
|
||||
Vendored
+1
-1
File diff suppressed because one or more lines are too long
+1
-1
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "liquidjs",
|
||||
"version": "3.1.1",
|
||||
"version": "3.1.2",
|
||||
"description": "Liquid template engine by pure JavaScript: compatible to shopify, easy to extend.",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user