Bug Tracker

Custom Query (13852 matches)


Show under each result:

Results (52 - 54 of 13852)

Ticket Resolution Summary Owner Reporter
#15061 migrated "define" is not defined error. Broken build corbacho

When building a custom jQuery (master branch) with this command:

grunt build:*:+core/ready

It will output about the line 47:

define("jquery", function(){});

This produces the error

ReferenceError: define is not defined

Why I'm using grunt build? I know that "grunt custom" is the recommended alias, but I'm trying to build a minimum possible jQuery that contains the necessary code for a reliable $(document).ready() . I want to propose this solution to be part of the upcoming Drupal 8 core, as an alternative to domready solution https://github.com/ded/domready that we are using now

The whole command is :

grunt build:*:+core/ready:+exports/global:-exports/amd:-ajax:-ajax/xhr:-ajax/script:-ajax/jsonp:-css:-deprecated:-dimensions:-effects:-event:-event/alias:-offset:-wrap:-sizzle:-queue:-data:-css:-selector:-traversing:-serialize

This builds a 11Kb size domready solution. 5Kb gzipped

Removing the buggy line mentioned before, it works: http://jsfiddle.net/WnhWc/2/

#13375 notabug "div.cloneNode( true ).click();" don't works in Opera anonymous

I made simple jqtest.html: "<script src="http://code.jquery.com/jquery.js"></script>", open it in browser and get error:

JavaScript - file://localhost/D:/jqtest.html Inline script thread Error: name: TypeError message: Statement on line 1415: Type mismatch (usually non-object value supplied where object required) stacktrace: Line 1415 of linked script http://code.jquery.com/jquery.js

div.cloneNode( true ).click();

Line 1286 of linked script http://code.jquery.com/jquery.js

jQuery.support = (function() {

Line 14 of linked script http://code.jquery.com/jquery.js

(function( window, undefined ) {

After commenting line "div.cloneNode( true ).click();" i get no error.

#6534 invalid "doc.createDocumentFragment is not a function" error in 1.4+ when appending a function like so seasoup

This throws an error in 1.4 and 1.4.2 but not in 1.3.2. Didn't test 1.4.1

Test Case: <html> <head> <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js" type="text/javascript"></script> <script>

var Dialog = function() {



Dialog.prototype = {

'loadingDialog': function () { return 'foo' }


var car = new Dialog();


The above code results in doc being a Window object below

fragment = doc.createDocumentFragment(); line 4373

which breaks it. Putting the following in front of it seems to fix it, but I don't know all the repercussions.

if (doc.constructor === Window) {

doc = document;



var car = new Dialog();

in a $(function () {} fixes it too.

Note: See TracQuery for help on using queries.