I am running the following command with jslim
jslim --js ../minified_test/temp1.js --js_output_file ../minified_test/assets/linker/js/out.js --lib_js assets/linker/js/jquery-2.1.0.js --lib_js assets/linker/js/app.js --lib_js assets/linker/js/bbootstrap.js --lib_js assets/linker/js/bootstrap-formhelpers.js --lib_js assets/linker/js/jasny-bootstrap.js --lib_js assets/linker/js/jquery.cookie.js --lib_js assets/linker/js/jquery.form.js --lib_js assets/linker/js/jquery.validate.js --lib_js assets/linker/js/myhelpers.js --lib_js assets/linker/js/sails.io.js --lib_js assets/linker/js/socket.io.js --separate_files --skip_gzip --compilation_level SIMPLE_OPTIMIZATIONS
Removed 138 out of 662 named functions.
Then while accessing the webpage I get the following error in the console.
Uncaught TypeError: undefined is not a function out.js:37
Uncaught ReferenceError: $ is not defined product:138
Where in product script I have out.js (product of jslim) included.
What else can I provide to debug this error ?
I am running the following command with
jslimThen while accessing the webpage I get the following error in the console.
Where in product script I have
out.js(product ofjslim) included.What else can I provide to debug this error ?