File tree Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Expand file tree Collapse file tree 1 file changed +21
-3
lines changed Original file line number Diff line number Diff line change 1
1
/*
2
- * jQueryUI.Tabs.Neighbors, v1.0.0
2
+ * jQueryUI.Tabs.Neighbors, v1.0.1
3
3
* (c) 2014–2017 Artyom "Sleepwalker" Fedosov <[email protected] >
4
4
* https://github.com/asleepwalker/jquery-ui.tabs.neighbors.js
5
5
*/
6
6
7
- ( function ( $ ) {
7
+ ( function ( factory ) {
8
+ if ( typeof define === 'function' && define . amd ) {
9
+ define ( [ 'jquery' ] , factory ) ;
10
+ } else if ( typeof module === 'object' && module . exports ) {
11
+ module . exports = function ( root , jQuery ) {
12
+ if ( jQuery === undefined ) {
13
+ if ( typeof window !== 'undefined' ) {
14
+ jQuery = require ( 'jquery' ) ;
15
+ } else {
16
+ jQuery = require ( 'jquery' ) ( root ) ;
17
+ }
18
+ }
19
+ factory ( jQuery ) ;
20
+ return jQuery ;
21
+ } ;
22
+ } else {
23
+ factory ( jQuery ) ;
24
+ }
25
+ } ( function ( $ ) {
8
26
9
27
var originalCreate = $ . ui . tabs . prototype . _create ;
10
28
89
107
}
90
108
} ) ;
91
109
92
- } ) ( jQuery ) ;
110
+ } ) ) ;
You can’t perform that action at this time.
0 commit comments