This file contains 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
// Styling Error Types | |
atom-text-editor.editor .linter-highlight, .linter-highlight{ | |
&.badge { | |
border-radius: @component-border-radius; | |
overflow: hidden; | |
text-overflow: ellipsis; | |
} | |
&.error { | |
&:not(.line-number){ | |
background-color: transparent; |
This file contains 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 { Mongo } from 'meteor/mongo'; | |
import SimpleSchema from 'simpl-schema'; | |
const Restaurants = new Mongo.Collection('Restaurants'); | |
Restaurants.allow({ | |
insert: () => false, | |
update: () => false, | |
remove: () => false, | |
}); |
This file contains 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
{ | |
lol: 'This will not work.', | |
dangerousData: 129301924109214, | |
name: 'Fake Restuarant' | |
} |
This file contains 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
{ | |
name: 'Poppyseed', | |
address: { | |
street: '1234 Marion St.', | |
suite: '29', | |
postalCode: '12345', | |
city: 'Andersonville', | |
state: 'IL', | |
country: 'US', | |
}, |
This file contains 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 from 'react'; | |
import PropTypes from 'prop-types'; | |
import Composer from './imports/ui/components/Composer/Composer'; | |
class AddOns extends React.Component { | |
state = { | |
addOns: [], | |
}; | |
componentWillReceiveProps(nextProps) { |