Skip to content

Commit

Permalink
defaults -> static
Browse files Browse the repository at this point in the history
  • Loading branch information
3rd-Eden committed May 18, 2012
1 parent c78d1d0 commit 3c9fa72
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/pre-process.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ exports.jade = function jade (content, index, total, next) {


// for the first file we need to include the jade runtime so the templates // for the first file we need to include the jade runtime so the templates
// can actually be executed client side // can actually be executed client side
var client = path.join(__dirname, '..', 'defaults', 'jade.js'); var client = path.join(__dirname, '..', 'static', 'jade.js');
compiled = fs.readFileSync(client, 'UTF-8') + compiled; compiled = fs.readFileSync(client, 'UTF-8') + compiled;


next(null, compiled); next(null, compiled);
Expand Down
2 changes: 1 addition & 1 deletion lib/square.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ var Square = module.exports = function Square (options) {
_.extend(this, options || {}); _.extend(this, options || {});


// should not be overridden // should not be overridden
this.config = require('../defaults'); this.config = require('../static');
this.middleware = []; this.middleware = [];
this.package = {}; this.package = {};
}; };
Expand Down
2 changes: 1 addition & 1 deletion lib/watch.js
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ function watching (dir, extensions, fn) {


watching.live = function live (port) { watching.live = function live (port) {
var EventEmitter = new process.EventEmitter() var EventEmitter = new process.EventEmitter()
, reload = path.join(__dirname, '..', 'defaults', 'reload.js') , reload = path.join(__dirname, '..', 'static', 'reload.js')
, network = require('os').networkInterfaces() , network = require('os').networkInterfaces()
, location , location
, ip; , ip;
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 3c9fa72

Please sign in to comment.