Skip to content
This repository was archived by the owner on May 25, 2023. It is now read-only.

Bring back support for Node/CommonJS #3509

Merged
merged 1 commit into from
Jun 19, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion js/vendor/jquery.ui.widget.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! jQuery UI - v1.12.1 - 2018-02-10
/*! jQuery UI - v1.12.1+CommonJS - 2018-02-10
* http://jqueryui.com
* Includes: widget.js
* Copyright jQuery Foundation and other contributors; Licensed MIT */
Expand All @@ -8,6 +8,10 @@

// AMD. Register as an anonymous module.
define([ "jquery" ], factory );
} else if ( typeof exports === "object" ) {

// Node/CommonJS
factory( require( "jquery" ) );
} else {

// Browser globals
Expand Down