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
Package.describe({ | |
summary: "A user managment tab for the CM project" | |
}); | |
Package.on_use(function (api, where) { | |
api.use(['templating', 'coffeescript', 'less', 'Mesosphere', 'paginate', 'bootstrap', 'iron-router'], ['client','server']); | |
api.add_files([ | |
'collections/users_collection.coffee', | |
'client/users-mesosphere.coffee', | |
], ['client','server']); |
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
dm-user-management | |
├── README.md | |
├── client | |
│ ├── user-management-styles.less | |
│ ├── user_pager.coffee | |
│ ├── users-mesosphere.coffee | |
│ ├── users.coffee | |
│ └── users.html | |
├── collections | |
│ └── users_collection.coffee |
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
. | |
├── client | |
│ └── views | |
├── lib | |
├── packages.json | |
├── server | |
└── smart.json |
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
Show hidden characters
// While you can edit this file, it's best to put your changes in | |
// "User/Preferences.sublime-settings", which overrides the settings in here. | |
// | |
// Settings may also be placed in file type specific options files, for | |
// example, in Packages/Python/Python.sublime-settings for python files. | |
{ | |
// Sets the colors used within the text area | |
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme", | |
// Note that the font_face and font_size are overriden in the platform |
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
Meteor.startup () -> | |
# Countries collection initialization. | |
countries_csv = Assets.getText('country.csv') | |
csv = Meteor.require('csv') | |
countries_count = Countries.find().count() | |
if countries_count is 0 | |
Future = Npm.require('fibers/future') | |
future = new Future() | |
csv() | |
.from.string(countries_csv, {comment: '#'}) |
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
{ | |
"pusher": "0.1.3", | |
"mime": "1.2.11", | |
"rimraf": "2.2.4", | |
"mkdirp": "0.3.5", | |
"csv": "0.3.6", | |
"stripe": "2.4.0" | |
} |
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
. | |
├── ASP | |
├── ActionScript | |
├── Alignment | |
├── AppleScript | |
├── Batch\ File | |
├── C# | |
├── C++ | |
├── CSS | |
├── Clojure |
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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
watch: { | |
js: { | |
files: [ | |
'index.js', | |
'brains.js', | |
'lib/*.js' | |
], |
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
var util = require('util'); | |
var clc = require('cli-color'); | |
var notice = clc.cyanBright.bold; | |
var error = clc.red.bold; | |
var warn = clc.yellow; | |
// Setup logging functions | |
var inspect = function(message) { | |
util.log(util.inspect(message, {colors:true})) |
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
<link href="http://code.jquery.com/mobile/1.4.1/jquery.mobile-1.4.1.min.css" rel="stylesheet"> | |
<script src="http://code.jquery.com/mobile/1.4.1/jquery.mobile-1.4.1.min.js"></script> |