Skip to main content

Bug Tracker

Side navigation

#15121 closed bug (fixed)

Opened May 30, 2014 08:10PM UTC

Closed June 02, 2014 08:44PM UTC

wrap module uses manipulation module, but does not declare the dependency

Reported by: tj.vantoll Owned by:
Priority: low Milestone: 1.12/2.2
Component: manipulation Version: 1.11.1
Keywords: Cc:
Blocked by: Blocking:
Description
define([ "jquery/wrap" ], function( $ ) {
	$( "div" ).wrap( document.createElement( "div" ) );
});

This fails because

wrap.js
uses
$.fn.clone()
, which is defined in
manipulation.js
, but does not declare a dependency on it.

I'll send a PR.

Attachments (0)
Change History (3)

Changed June 02, 2014 02:17PM UTC by timmywil comment:1

milestone: None1.12/2.2
priority: undecidedlow
status: newopen

Changed June 02, 2014 02:55PM UTC by tj.vantoll comment:2

Changed June 02, 2014 08:44PM UTC by TJ VanToll comment:3

resolution: → fixed
status: openclosed

Wrap: Declare a dependency on the manipulation module

Fixes #15121

Closes gh-1589

Changeset: c18c6229c84cd2f0c9fe9f6fc3749e2c93608cc7