Skip to content

Instantly share code, notes, and snippets.

@markysharky70
Created November 8, 2012 19:13
Show Gist options
  • Save markysharky70/4040874 to your computer and use it in GitHub Desktop.
Save markysharky70/4040874 to your computer and use it in GitHub Desktop.
Uncaught exception: SyntaxError: Function constructor: failed to compile function
Error thrown at line 22, column 8 in <anonymous function>(str, data) in http://dev.wilsonsdev.com/assets/jquery-fileupload/vendor/tmpl.js?body=1:
var f = !/[^\w\-\.:]/.test(str) ? tmpl.cache[str] = tmpl.cache[str] ||
called from line 22, column 8 in <anonymous function>(str, data) in http://dev.wilsonsdev.com/assets/jquery-fileupload/vendor/tmpl.js?body=1:
var f = !/[^\w\-\.:]/.test(str) ? tmpl.cache[str] = tmpl.cache[str] ||
called from line 11, column 10 in <anonymous function: add>(e, data) in http://dev.wilsonsdev.com/assets/users/images.js?body=1:
data.context = $(tmpl("template-upload", file));
called via Function.prototype.call() from line 277, column 2 in <anonymous function: _trigger>(type, event, data) in http://dev.wilsonsdev.com/assets/jquery-fileupload/vendor/jquery.ui.widget.js?body=1:
return !( $.isFunction(callback) &&
called from line 756, column 16 in <anonymous function: _onAdd>(index, element) in http://dev.wilsonsdev.com/assets/jquery-fileupload/jquery.fileupload.js?body=1:
return (result = that._trigger('add', e, newData));
called via Function.prototype.call() from line 513, column 6 in <anonymous function: each>(obj, callback, args) in http://dev.wilsonsdev.com/assets/jquery.js?body=1:
if (callback.call(obj[i], i, obj[i++]) === false)
called from line 746, column 12 in <anonymous function: _onAdd>(e, data) in http://dev.wilsonsdev.com/assets/jquery-fileupload/jquery.fileupload.js?body=1:
$.each(fileSet || data.files, function (index, element) {
called from line 883, column 20 in <anonymous function: _onChange>(files) in http://dev.wilsonsdev.com/assets/jquery-fileupload/jquery.fileupload.js?body=1:
that._onAdd(e, data);
called via Function.prototype.apply() from line 815, column 5 in <anonymous function: jQuery.Callbacks>(data) in http://dev.wilsonsdev.com/assets/jquery.js?body=1:
if (list[firingIndex].apply(data[0], data[1]) === false && options.stopOnFalse)
called from line 863, column 7 in <anonymous function: add>() in http://dev.wilsonsdev.com/assets/jquery.js?body=1:
fire(memory);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment