Skip to content

Commit

Permalink
Meteor 1.2 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
aldeed committed Sep 28, 2015
1 parent a49d8ee commit 3ecd259
Show file tree
Hide file tree
Showing 2 changed files with 79 additions and 39 deletions.
79 changes: 49 additions & 30 deletions .versions
Original file line number Diff line number Diff line change
@@ -1,30 +1,49 @@
aldeed:[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]_2
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
aldeed:[email protected]
[email protected]_1
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]_1
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]
39 changes: 30 additions & 9 deletions package.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'
});

Expand All @@ -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
Expand All @@ -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');
}
});

0 comments on commit 3ecd259

Please sign in to comment.