Initial commit. Modified the Meteor todos app to create the Petit Teton data tracking app. Has working data for sales. Requires a Mongo database.
This commit is contained in:
53
client/client.js
Normal file
53
client/client.js
Normal file
@@ -0,0 +1,53 @@
|
||||
import {Meteor} from 'meteor/meteor';
|
||||
import '/imports/startup/client'
|
||||
import '/imports/startup/both'
|
||||
import '/imports/api';
|
||||
import '/imports/ui/helpers.js';
|
||||
import '/imports/util/validator.js';
|
||||
import '/imports/util/blaze.js';
|
||||
import '/imports/util/date.js';
|
||||
import '/imports/util/de.combo.js';
|
||||
import '/imports/util/resize/ResizeSensor.js';
|
||||
import '/imports/util/resize/ElementQueries.js';
|
||||
import '/imports/ui/layouts/Body.js';
|
||||
import '/imports/ui/layouts/Full.js';
|
||||
import '/imports/ui/accounts/accounts.js';
|
||||
|
||||
Blaze._allowJavascriptUrls();
|
||||
|
||||
Meteor.subscribe("measures");
|
||||
Meteor.subscribe("venues");
|
||||
Meteor.subscribe("categories");
|
||||
Meteor.subscribe("subcategories");
|
||||
Meteor.subscribe("items");
|
||||
|
||||
Meteor.startup(function () {
|
||||
sAlert.config({
|
||||
effect: '',
|
||||
position: 'bottom-right',
|
||||
timeout: 5000,
|
||||
html: false,
|
||||
onRouteClose: true,
|
||||
stack: true,
|
||||
// or you can pass an object:
|
||||
// stack: {
|
||||
// spacing: 10 // in px
|
||||
// limit: 3 // when fourth alert appears all previous ones are cleared
|
||||
// }
|
||||
offset: 0, // in px - will be added to first alert (bottom or top - depends of the position in config)
|
||||
beep: false,
|
||||
// examples:
|
||||
// beep: '/beep.mp3' // or you can pass an object:
|
||||
// beep: {
|
||||
// info: '/beep-info.mp3',
|
||||
// error: '/beep-error.mp3',
|
||||
// success: '/beep-success.mp3',
|
||||
// warning: '/beep-warning.mp3'
|
||||
// }
|
||||
onClose: _.noop //
|
||||
// examples:
|
||||
// onClose: function() {
|
||||
// /* Code here will be executed once the alert closes. */
|
||||
// }
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user