Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Uncaught SyntaxError: Octal literals are not allowed in strict mode. #2209
In case somebody need this, there is a little hack to prevent uglifyjs from changing '\x00\x31' into '\01' which turns out to be octal literal forbidden by "use strict";.
Could u explain what u mean by : "I've just tried requiring it directly from here, and it works without the error."
There are my files:
And compiled widgets/pdfjs/worker_loader.js that generate error Octal literals are not allowed in strict mode.
and i dont have idea how should i change pathes to require files "directly from here" . It would be nice if u give me some hint ;]