This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Template.inviteModal.rendered = function() { | |
Deps.autorun(function() { | |
if (Session.equals('invite', true)) { | |
$('.modal').modal() | |
.on('hide', function() { | |
Session.set('invite', false); | |
}); | |
} | |
}); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Template.editProperty.helpers({ | |
// Render a template based on the control type. For example, if | |
// this.control.type is 'color', it will render the template with | |
// name="colorControl", if it exists. 'this' context is passed to | |
// the control sub-template when rendering. | |
renderControl: function() { | |
if ( ! (this.control && this.control.type)) | |
throw new Meteor.Error(500, 'type missing'); | |
var template = Template[this.control.type + 'Control']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
prod: | |
rm -rf ./bundle | |
mrt bundle bundle.tgz > /dev/null | |
tar -xzf bundle.tgz | |
rm -r bundle/server/node_modules/fibers | |
cd bundle/server && npm install [email protected] | |
clean: | |
rm -f ./bundle.tgz | |
rm -rf ./bundle |
NewerOlder