Skip to content

Commit

Permalink
removed vue property
Browse files Browse the repository at this point in the history
  • Loading branch information
noogen committed Feb 9, 2022
1 parent 99d0ffb commit a5c635e
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 40 deletions.
16 changes: 4 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# vue-datatables-net
> Vue jQuery DataTables.net wrapper component
> Vue jQuery DataTables.net wrapper component
This library is a Vue 2 wrapper for [jQuery DataTables](https://datatables.net/). It's a tiny wrapper that doesn't include anything, not even the datatables.net core library.

> Note: you've found this library because you want to use jQuery datatables.net client-side with your application. Alternatively, if you simply want to integrate with server-side datatables.net compatible endpoint, then I'd like to suggest looking at bootstrap-vue b-table and this component - https://github.com/niiknow/bvtnet-items-provider
> Note: you've found this library because you want to use jQuery datatables.net client-side with your application. Alternatively, if you simply want to integrate with server-side datatables.net compatible endpoint, then I'd like to suggest looking at bootstrap-vue b-table and this component - https://github.com/niiknow/bvtnet-items-provider
## Development
`laravel-mix` is use to simplify build and packaging.
Expand All @@ -18,8 +18,8 @@ npm install
```

or in one command:
```
npm install git+https://github.com/niiknow/vue-datatables-net.git
```
npm install git+https://github.com/niiknow/vue-datatables-net.git
```

To run locally (automatically launch firefox):
Expand Down Expand Up @@ -177,14 +177,6 @@ Our component parameters:
jquery: {
type: Object
},
/**
* Pass in Vue to resolve any conflict from multiple loaded
*
* @type Object
*/
vue: {
type: Object
},
/**
* The select-checkbox column index (start at 1)
* Current implementation require datatables.net-select
Expand Down
2 changes: 1 addition & 1 deletion dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"/index.js": "/index.js?id=bf82dbb5c6ef1912673f"
"/index.js": "/index.js?id=56156ba0ffff081d1ef2"
}
12 changes: 0 additions & 12 deletions example/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -353,15 +353,6 @@ var _default = {
type: Function
},

/**
* Pass in Vue to resolve any conflict from multiple loaded
*
* @type Object
*/
vue: {
type: Object
},

/**
* The select-checkbox column index (start at 1)
* Current implementation require datatables.net-select
Expand Down Expand Up @@ -447,9 +438,6 @@ var _default = {
jq: function jq() {
return this.jquery || window.jQuery;
},
myVue: function myVue() {
return this.vue || window.Vue;
},
classes: function classes() {
var that = this;
var classes = "".concat(that.containerClassName, " vdtnet-container");
Expand Down
2 changes: 1 addition & 1 deletion example/index.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/mix-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
"/index.js": "/index.js?id=6f68de7d1dd1a49ee8d7"
"/index.js": "/index.js?id=c5022c9d8588ede4c719"
}
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="utf-8">
<title>vue-datatables-net demo</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/1.11.3/css/dataTables.bootstrap5.min.css">
<link rel="stylesheet" href="https://cdn.datatables.net/1.11.4/css/dataTables.bootstrap5.min.css">

<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"></script>
Expand Down
11 changes: 0 additions & 11 deletions src/VdtnetTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -155,14 +155,6 @@ export default {
jquery: {
type: Function
},
/**
* Pass in Vue to resolve any conflict from multiple loaded
*
* @type Object
*/
vue: {
type: Object
},
/**
* The select-checkbox column index (start at 1)
* Current implementation require datatables.net-select
Expand Down Expand Up @@ -241,9 +233,6 @@ export default {
jq() {
return this.jquery || window.jQuery
},
myVue() {
return this.vue || window.Vue
},
classes() {
const that = this
let classes = `${that.containerClassName} vdtnet-container`
Expand Down

0 comments on commit a5c635e

Please sign in to comment.