Преглед изворни кода

Del useless params utf8 in gulp-shader

Dimitri Larue пре 11 година
родитељ
комит
f5abb0917c
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      Tools/Gulp/gulp-shaders.js

+ 1 - 1
Tools/Gulp/gulp-shaders.js

@@ -22,7 +22,7 @@ var shaders = function shaders(name) {
       .replace('.vertex', 'Vertex')
       .replace('.fx', 'Shader');
 
-    content[fileName] = file.contents.toString('utf8').substring(1); //stript the BOM character
+    content[fileName] = file.contents.toString().substring(1); //stript the BOM character
   }
 
   function endStream(){