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 USE_LOCAL_JSON = true, | |
globals = { | |
settings : { | |
TEMPLATE_DEBUG : true | |
}, | |
USE_LOCAL_JSON : USE_LOCAL_JSON, | |
STATIC_URL : "static/", |
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
Must Haves: | |
- Issues | |
Nice to Haves: | |
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
(function(){ | |
var staticProps = { | |
SOME_PROP : "someVal" | |
}; | |
minion.define("example", { | |
Example : minion.extend("minion.Class", { | |
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
example : function(req, res){ | |
var data = { | |
foo : "foo", | |
bar : "bar", | |
foobar : "foobar" | |
}; | |
res.render('example', {data: data}); | |
} |
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
{ | |
"cmd": ["ant", "-f", "build.xml"], | |
"file_regex": "^ *\\[javac\\] (.+):([0-9]+):() (.*)$", | |
"working_dir": "${project_path:${folder}}/.ant", | |
"selector": "source.java", | |
"windows": | |
{ | |
"cmd": ["ant.bat"] | |
} |
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
<?xml version="1.0" encoding="utf-8"?> | |
<config> | |
<locales> | |
<locale id="en_us" language="en" name="US English" default="true" /> | |
</locales> | |
<settings> | |
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 red = red || {}; | |
red.Module = Class.extend({ | |
init : function (aVal, bVal) { | |
/* All private variables have to live here. */ | |
var a; | |
var b; |
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
minion.define("example.module", { | |
require : [ | |
"f00.module.ModuleA", | |
"f00.module.ModuleB" | |
], | |
SomeModule : minion.extend("f00.module.BaseModule", { | |
init : function () { |
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
function createBox1 (width, height, x, y) { | |
x = x || 100; | |
y = y || 200; | |
return {width: width, height: height, x: x, y: y}; | |
} | |
function createBox2 (width, height, x, y) { |
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
/*jslint node: true, onevar: false */ | |
/*global jake, desc, task */ | |
var ExecQueue = function (silent) { | |
this.commands = []; | |
this.silent = silent; | |
}; | |
ExecQueue.prototype.add = function () { | |
for (var i = 0; i < arguments.length; i ++) { |