glslify-bundle
Advanced tools
Comparing version 2.0.1 to 2.0.2
10
index.js
@@ -55,5 +55,9 @@ var tokenize = require('glsl-tokenizer/string') | ||
if (imported) { | ||
var name = imported[1] | ||
var maps = imported[2].split(/\s?,\s?/g) | ||
var path = maps.shift() | ||
var name = imported[1] | ||
var maps = imported[2].split(/\s?,\s?/g) | ||
var path = maps.shift() | ||
.trim() | ||
.replace(/^'|'$/g, '') | ||
.replace(/^"|"$/g, '') | ||
var target = this.depIndex[dep.deps[path]] | ||
@@ -60,0 +64,0 @@ |
{ | ||
"name": "glslify-bundle", | ||
"version": "2.0.1", | ||
"version": "2.0.2", | ||
"description": "Bundle a glslify-deps dependency tree into a GLSL source string", | ||
@@ -24,3 +24,3 @@ "main": "index.js", | ||
"devDependencies": { | ||
"glslify-deps": "^1.0.3", | ||
"glslify-deps": "^1.2.1", | ||
"tape": "^3.5.0" | ||
@@ -27,0 +27,0 @@ }, |
Sorry, the diff of this file is not supported yet
8531
132