Lots of updates
This commit is contained in:
parent
e3cfff8310
commit
39e7af6238
454 changed files with 221168 additions and 36622 deletions
25
app/bower_components/geolib/meteor/README.md
vendored
Normal file
25
app/bower_components/geolib/meteor/README.md
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
Packaging [Geolib](http://github.com/manuelbieh/Geolib) for [Meteor.js](http://meteor.com).
|
||||
|
||||
|
||||
# Meteor
|
||||
|
||||
If you're new to Meteor, here's what the excitement is all about -
|
||||
[watch the first two minutes](https://www.youtube.com/watch?v=fsi0aJ9yr2o); you'll be hooked by 1:28.
|
||||
|
||||
That screencast is from 2012. In the meantime, Meteor has become a mature JavaScript-everywhere web
|
||||
development framework. Read more at [Why Meteor](http://www.meteorpedia.com/read/Why_Meteor).
|
||||
|
||||
|
||||
# Issues
|
||||
|
||||
If you encounter an issue while using this package, please CC @dandv when you file it in this repo.
|
||||
|
||||
|
||||
# DONE
|
||||
|
||||
* Simple test. Should be enough.
|
||||
|
||||
|
||||
# TODO
|
||||
|
||||
* Add other tests; however, that is overkill, and the responsibiity of Moment, not of the Meteor integration.
|
3
app/bower_components/geolib/meteor/export.js
vendored
Normal file
3
app/bower_components/geolib/meteor/export.js
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
// Geolib makes `geolib` global on the window (or global) object, while Meteor expects a file-scoped global variable
|
||||
geolib = this.geolib;
|
||||
delete this.geolib;
|
30
app/bower_components/geolib/meteor/package.js
vendored
Normal file
30
app/bower_components/geolib/meteor/package.js
vendored
Normal file
|
@ -0,0 +1,30 @@
|
|||
// package metadata file for Meteor.js
|
||||
'use strict';
|
||||
|
||||
var packageName = 'outatime:geolib'; // https://atmospherejs.com/outatime/geolib
|
||||
|
||||
var packageJson = JSON.parse(Npm.require("fs").readFileSync('package.json'));
|
||||
|
||||
Package.describe({
|
||||
name: packageName,
|
||||
summary: 'Geolib - Library to perform geo specific tasks',
|
||||
version: packageJson.version,
|
||||
documentation: 'meteor/README.md',
|
||||
git: 'https://github.com/manuelbieh/geolib.git'
|
||||
});
|
||||
|
||||
Package.onUse(function (api) {
|
||||
api.versionsFrom(['METEOR@0.9.0', 'METEOR@1.0']);
|
||||
api.export('geolib');
|
||||
api.addFiles([
|
||||
'dist/geolib.js',
|
||||
'meteor/export.js'
|
||||
]);
|
||||
});
|
||||
|
||||
Package.onTest(function (api) {
|
||||
api.use(packageName);
|
||||
api.use('tinytest');
|
||||
|
||||
api.addFiles('meteor/test.js');
|
||||
});
|
5
app/bower_components/geolib/meteor/test.js
vendored
Normal file
5
app/bower_components/geolib/meteor/test.js
vendored
Normal file
|
@ -0,0 +1,5 @@
|
|||
'use strict';
|
||||
|
||||
Tinytest.add('Geolib.is', function (test) {
|
||||
test.equal(geolib.radius, 6378137, {message: 'simple geolib object'});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue