fut.throw('Could not get version information from '+url+' either (incorrect package name?):\n'+(response&&response.statusCode||'')+(response&&response.body||'')+(error||''));
});
}
});
version=fut.wait();
}
// Now that we finally have an accurate version number...
Package.describe({
Package.describe({
name:packageName,
name:packageName,
summary:'Sortable: reactive minimalist reorderable drag-and-drop lists on modern browsers and touch devices',
summary:'Sortable: reactive minimalist reorderable drag-and-drop lists on modern browsers and touch devices',
version:packageJson.version,
version:version,
git:'https://github.com/RubaXa/Sortable.git',
git:'https://github.com/RubaXa/Sortable.git',
documentation:'meteor/README.md'
documentation:'README.md'
});
});
Package.onUse(function(api){
Package.onUse(function(api){
@ -19,17 +69,17 @@ Package.onUse(function (api) {
api.use('dburles:mongo-collection-instances@0.3.4');// to watch collections getting created
api.use('dburles:mongo-collection-instances@0.3.4');// to watch collections getting created
api.export('Sortable');// exported on the server too, as a global to hold the array of sortable collections (for security)
api.export('Sortable');// exported on the server too, as a global to hold the array of sortable collections (for security)
api.addFiles([
api.addFiles([
'Sortable.js',
'../Sortable.js',
'meteor/template.html',// the HTML comes first, so reactivize.js can refer to the template in it
'template.html',// the HTML comes first, so reactivize.js can refer to the template in it