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
<jsp-config> | |
<jsp-property-group> | |
<url-pattern>*.jsp</url-pattern> | |
<page-encoding>UTF-8</page-encoding> | |
</jsp-property-group> | |
</jsp-config> |
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
<backbone:view view="AppView"> | |
<jsp:param name="template"> | |
<mustache:interpolate key="Meetup.Templates[App]"/> | |
</jsp:param> | |
<%-- need way to pass in arbitrary list of args as options | |
such as counter = 6 | |
gets passed as data-counter="6" to main tag...not sure how possible that is | |
--%> | |
<backbone:viewOption name="counter" value="${itemList.length}"/> | |
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
exports.load = function(configPath,onComplete){ | |
var config = { | |
ip : "10.254.2.93", | |
port : 80 | |
}; | |
if(process.argv[2] !== "config" && pathUtil.existsSync(configPath)){ | |
underscore.extend(exports,require(configPath)); | |
onComplete(); | |
return; |
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
"use strict"; | |
var Q = require("../q"); | |
exports['test spread'] = function (ASSERT, done) { | |
Q.ref([1,2,3]) | |
.spread(function (a, b, c) { | |
ASSERT.equal(a, 1, 'spread 1'); | |
ASSERT.equal(b, 2, 'spread 2'); | |
ASSERT.equal(c, 3, 'spread 3'); |
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
matthewk:~ matthewk$ npm -v | |
node.js:201 | |
throw e; // process.nextTick error, or 'error' event on first tick | |
^ | |
Error: No such module | |
at Object.<anonymous> (/usr/lib/node_modules/npm/lib/utils/config-defs.js:5:21) | |
at Module._compile (module.js:432:26) | |
at Object..js (module.js:450:10) | |
at Module.load (module.js:351:31) |