Commit f60aa494 authored by Randall Leeds's avatar Randall Leeds

Add strip-bomify

Somehow this wasn't a problem before, but now it is. Some files have
a BOM (jquery scrollintoview plugin is one) and browserify typically
strips these, but only if they are at the beginning of the stream.
With browserify-shim, the BOM will be inside the IFFE.
parent 4b9ee9e7
......@@ -13,6 +13,7 @@
"extend": "^2.0.0",
"hammerjs": "^2.0.4",
"node-uuid": "^1.4.3",
"strip-bomify": "^0.1.0",
"uglify-js": "^2.4.14"
},
"devDependencies": {
......@@ -42,6 +43,7 @@
"homepage": "https://github.com/hypothesis/h",
"browserify": {
"transform": [
"strip-bomify",
"coffeeify",
"browserify-shim"
]
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment