mm_expand 1.5.4 → 1.5.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.js +1 -4
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -2265,10 +2265,7 @@ if (typeof($) === "undefined") {
|
|
|
2265
2265
|
*/
|
|
2266
2266
|
File.prototype.load = function(file, encode) {
|
|
2267
2267
|
if (isFile(file)) {
|
|
2268
|
-
|
|
2269
|
-
encode = "utf-8"
|
|
2270
|
-
}
|
|
2271
|
-
return readFileSync(file, type);
|
|
2268
|
+
return readFileSync(file, encode);
|
|
2272
2269
|
}
|
|
2273
2270
|
};
|
|
2274
2271
|
/**
|