datatables.net-rowreorder-jqui
Advanced tools
Comparing version 1.2.8 to 1.3.0
/*! jQuery UI styling wrapper for RowReorder | ||
* ©2018 SpryMedia Ltd - datatables.net/license | ||
* © SpryMedia Ltd - datatables.net/license | ||
*/ | ||
@@ -8,3 +8,3 @@ | ||
// AMD | ||
define( ['jquery', 'datatables.net-jqui', 'datatables.net-rowreorder'], function ( $ ) { | ||
define( ['jquery', 'datatables.net-ju', 'datatables.net-rowreorder'], function ( $ ) { | ||
return factory( $, window, document ); | ||
@@ -17,13 +17,22 @@ } ); | ||
if ( ! root ) { | ||
// CommonJS environments without a window global must pass a | ||
// root. This will give an error otherwise | ||
root = window; | ||
} | ||
if ( ! $ || ! $.fn.dataTable ) { | ||
$ = require('datatables.net-jqui')(root, $).$; | ||
if ( ! $ ) { | ||
$ = typeof window !== 'undefined' ? // jQuery's factory checks for a global window | ||
require('jquery') : | ||
require('jquery')( root ); | ||
} | ||
if ( ! $.fn.dataTable.RowReorder ) { | ||
if ( ! $.fn.dataTable ) { | ||
require('datatables.net-ju')(root, $); | ||
} | ||
if ( ! $.fn.dataTable ) { | ||
require('datatables.net-rowreorder')(root, $); | ||
} | ||
return factory( $, root, root.document ); | ||
@@ -37,5 +46,9 @@ }; | ||
}(function( $, window, document, undefined ) { | ||
'use strict'; | ||
var DataTable = $.fn.dataTable; | ||
return $.fn.dataTable; | ||
})); | ||
return DataTable; | ||
})); |
@@ -1,5 +0,4 @@ | ||
/*! | ||
jQuery UI styling wrapper for RowReorder | ||
©2018 SpryMedia Ltd - datatables.net/license | ||
*/ | ||
(function(c){"function"===typeof define&&define.amd?define(["jquery","datatables.net-jqui","datatables.net-rowreorder"],function(a){return c(a,window,document)}):"object"===typeof exports?module.exports=function(a,b){a||(a=window);if(!b||!b.fn.dataTable)b=require("datatables.net-jqui")(a,b).$;b.fn.dataTable.RowReorder||require("datatables.net-rowreorder")(a,b);return c(b,a,a.document)}:c(jQuery,window,document)})(function(c){return c.fn.dataTable}); | ||
/*! jQuery UI styling wrapper for RowReorder | ||
* © SpryMedia Ltd - datatables.net/license | ||
*/ | ||
!function(n){"function"==typeof define&&define.amd?define(["jquery","datatables.net-ju","datatables.net-rowreorder"],function(e){return n(e,window,document)}):"object"==typeof exports?module.exports=function(e,t){return e=e||window,(t=t||("undefined"!=typeof window?require("jquery"):require("jquery")(e))).fn.dataTable||require("datatables.net-ju")(e,t),t.fn.dataTable||require("datatables.net-rowreorder")(e,t),n(t,0,e.document)}:n(jQuery,window,document)}(function(e,t,n,r){"use strict";return e.fn.dataTable}); |
@@ -5,8 +5,11 @@ { | ||
"main": "js/rowReorder.jqueryui.js", | ||
"module": "js/rowReorder.jqueryui.mjs", | ||
"style": "css/rowReorder.jqueryui.css", | ||
"types": "./types/rowReorder.jQueryUI.d.ts", | ||
"version": "1.2.8", | ||
"types": "./types/types.d.ts", | ||
"version": "1.3.0", | ||
"files": [ | ||
"css/**/*.css", | ||
"js/**/*.js" | ||
"js/**/*.js", | ||
"js/**/*.mjs", | ||
"types/**/*.d.ts" | ||
], | ||
@@ -25,5 +28,5 @@ "keywords": [ | ||
"dependencies": { | ||
"jquery": ">=1.7", | ||
"datatables.net-jqui": "^1.10.15", | ||
"datatables.net-rowreorder": "1.2.8" | ||
"datatables.net-rowreorder": ">=1.2.8", | ||
"datatables.net-jqui": ">=1.12.1", | ||
"jquery": ">=1.7" | ||
}, | ||
@@ -30,0 +33,0 @@ "moduleType": [ |
# RowReorder for DataTables with styling for [jQueryUI](http://jqueryui.com/) | ||
This package contains a built distribution of the [RowReorder extension](https://datatables.net/extensions/RowReorder) for [DataTables](https://datatables.net/) with styling for [jQueryUI](http://jqueryui.com/). | ||
This package contains a built distribution of the [RowReorder extension](https://datatables.net/extensions/rowreorder) for [DataTables](https://datatables.net/) with styling for [jQueryUI](http://jqueryui.com/). | ||
@@ -5,0 +5,0 @@ RowReorder adds end user reordering of rows in a DataTable through click-and-drag mouse and touch operations. RowReorder provides full support for Editor allowing end users to update sequential information in a fast and easy manner. |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
10005
11
175
1
+ Addeddatatables.net@2.1.8(transitive)
+ Addeddatatables.net-jqui@2.1.8(transitive)
+ Addeddatatables.net-rowreorder@1.5.0(transitive)
- Removeddatatables.net@1.13.11(transitive)
- Removeddatatables.net-jqui@1.13.11(transitive)
- Removeddatatables.net-rowreorder@1.2.8(transitive)
Updateddatatables.net-jqui@>=1.12.1