-
-
Notifications
You must be signed in to change notification settings - Fork 136
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
79 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
Package.describe({ | ||
name: 'aldeed:tabular', | ||
summary: 'Datatables for large or small datasets in Meteor', | ||
version: '1.4.0', | ||
version: '1.4.1', | ||
git: 'https://github.com/aldeed/meteor-tabular.git' | ||
}); | ||
|
||
|
@@ -13,7 +13,15 @@ Npm.depends({ | |
|
||
Package.onUse(function(api) { | ||
api.versionsFrom(['[email protected]', '[email protected]']); | ||
api.use(['check', 'underscore', 'mongo', 'blaze', 'templating', 'reactive-var', 'tracker']); | ||
api.use([ | ||
'check', | ||
'underscore', | ||
'mongo', | ||
'blaze', | ||
'templating', | ||
'reactive-var', | ||
'tracker' | ||
]); | ||
|
||
// jquery is a weak reference in case you want to use a different package or | ||
// pull it in another way, but regardless you need to make sure it is loaded | ||
|
@@ -35,12 +43,25 @@ Package.onUse(function(api) { | |
'client/tableRecords.js', | ||
'client/tableInit.js', | ||
'client/pubSelector.js', | ||
'client/tabular.js', | ||
// images | ||
'images/sort_asc.png', | ||
'images/sort_asc_disabled.png', | ||
'images/sort_both.png', | ||
'images/sort_desc.png', | ||
'images/sort_desc_disabled.png' | ||
'client/tabular.js' | ||
], 'client'); | ||
|
||
// images | ||
if (typeof api.addAssets === 'function') { | ||
api.addAssets([ | ||
'images/sort_asc.png', | ||
'images/sort_asc_disabled.png', | ||
'images/sort_both.png', | ||
'images/sort_desc.png', | ||
'images/sort_desc_disabled.png' | ||
], 'client'); | ||
} else { | ||
api.addFiles([ | ||
'images/sort_asc.png', | ||
'images/sort_asc_disabled.png', | ||
'images/sort_both.png', | ||
'images/sort_desc.png', | ||
'images/sort_desc_disabled.png' | ||
], 'client'); | ||
} | ||
}); |