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:tabular@1.4.0
base64@1.0.3
binary-heap@1.0.3
blaze@2.1.2
blaze-tools@1.0.3
callback-hook@1.0.3
check@1.0.5
ddp@1.1.0
deps@1.0.7
ejson@1.0.6
geojson-utils@1.0.3
html-tools@1.0.4
htmljs@1.0.4
id-map@1.0.3
jquery@1.11.3_2
json@1.0.3
logging@1.0.7
meteor@1.1.6
minifiers@1.1.5
minimongo@1.0.8
mongo@1.1.0
observe-sequence@1.0.6
ordered-dict@1.0.3
random@1.0.3
reactive-var@1.0.5
retry@1.0.3
spacebars-compiler@1.0.6
templating@1.1.1
tracker@1.0.7
underscore@1.0.3
aldeed:tabular@1.4.1
babel-compiler@5.8.24_1
babel-runtime@0.1.4
base64@1.0.4
binary-heap@1.0.4
blaze@2.1.3
blaze-tools@1.0.4
boilerplate-generator@1.0.4
caching-compiler@1.0.0
caching-html-compiler@1.0.1
callback-hook@1.0.4
check@1.0.6
ddp@1.2.2
ddp-client@1.2.1
ddp-common@1.2.1
ddp-server@1.2.1
deps@1.0.9
diff-sequence@1.0.1
ecmascript@0.1.4
ecmascript-collections@0.1.6
ejson@1.0.7
geojson-utils@1.0.4
html-tools@1.0.5
htmljs@1.0.5
id-map@1.0.4
jquery@1.11.4
logging@1.0.8
meteor@1.1.7
minifiers@1.1.7
minimongo@1.0.9
mongo@1.1.1
mongo-id@1.0.1
npm-mongo@1.4.39_1
observe-sequence@1.0.7
ordered-dict@1.0.4
promise@0.4.8
random@1.0.4
reactive-var@1.0.6
retry@1.0.4
routepolicy@1.0.6
spacebars@1.0.7
spacebars-compiler@1.0.7
templating@1.1.3
templating-tools@1.0.0
tracker@1.0.8
ui@1.0.8
underscore@1.0.4
webapp@1.2.2
webapp-hashing@1.0.5
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(['METEOR@0.9.4', 'METEOR@1.0']);
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.