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
| export default { | |
| isAllowed() { | |
| return 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
| import React, { Component, PropTypes } from 'react'; | |
| import ReactDOM from 'react-dom'; | |
| import { Meteor } from 'meteor/meteor'; | |
| import { Session } from 'meteor/session' | |
| import { createContainer } from 'meteor/react-meteor-data'; | |
| import { Mailboxes } from '../api/mailboxes.js'; | |
| import { Mails } from '../api/mails.js'; | |
| import Mailbox from './Mailbox.jsx'; |
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 name="basic_typehead"> | |
| <form class="add-course"> | |
| <div> | |
| <div class="form-group"> | |
| <input class="form-control typeahead" name="courses" type="text" | |
| placeholder="Add a course" autocomplete="off" spellcheck="off" | |
| data-source="getCourses"/> | |
| <input type="submit" id="hide"/> | |
| </div> | |
| </div> |
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
| in your rendered template | |
| {{#contentFor region="header"}} | |
| <!-- Header content here --> | |
| {{/contentFor}} | |
| //---------- OR ------------------------------------ | |
| {{>yield 'bananas'}} |
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.myTemplate.myHelper = function() { | |
| return myCollection.findOne(); | |
| } | |
| // IS THIS ALL YOU'RE TRYING TO EXPLAIN? | |
| <template name="myTemplate"> | |
| {{myHelper.status}} | |
| {{myHelper.name}} | |
| </template> |