Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

rebuild

  • Loading branch information...
commit 988e55f6f94020fca90fb445229a3a34e2f48924 1 parent dbce141
@moul authored
View
24 lib/app.js
@@ -1,4 +1,4 @@
-// Generated by CoffeeScript 1.4.0
+// Generated by CoffeeScript 1.5.0
(function() {
var coffee, connect, connect_assets, defaultConfig, exists, express, express_Utils, express_View, fs, hogan, hoganCompilers, hoganTemplateRenderers, htc, http, io, iolog, jade, ksApp, ksSubApp, nib, path, stylus, util, utils, winston, _,
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; },
@@ -182,31 +182,18 @@
function ksApp(ks) {
this.ks = ks;
this.run = __bind(this.run, this);
-
this.setupPublic = __bind(this.setupPublic, this);
-
this.ksAppConfigure = __bind(this.ksAppConfigure, this);
-
this.autodiscover_load = __bind(this.autodiscover_load, this);
-
this.autodiscover = __bind(this.autodiscover, this);
-
this.restrict = __bind(this.restrict, this);
-
this.configure = __bind(this.configure, this);
-
this.post = __bind(this.post, this);
-
this.listen = __bind(this.listen, this);
-
this.set = __bind(this.set, this);
-
this.get = __bind(this.get, this);
-
this.use = __bind(this.use, this);
-
this.ksAppInit = __bind(this.ksAppInit, this);
-
this.logger = new winston.Logger({
transports: [
new winston.transports.Console({
@@ -514,7 +501,7 @@
_dir = _ref[_i];
image_paths = "" + _dir + "/public/images";
}
- this.use(stylus.middleware({
+ middleware = stylus.middleware({
debug: this.config.debug,
src: "" + dir + "/public",
dest: "" + dir + "/public",
@@ -524,16 +511,17 @@
s.set('filename', path);
s.set('warn', true);
s.set('compress', true);
- s.define('img', stylus.url({
+ s.define('img', stylus.url)({
paths: image_paths,
limit: 1000000
- }));
+ });
if (fn != null) {
s.render(fn);
}
return s;
}
- }));
+ });
+ this.use(middleware);
}
if (this.config.hogan) {
pathname = "" + dir + "/public/partials";
View
2  lib/config.js
@@ -1,4 +1,4 @@
-// Generated by CoffeeScript 1.4.0
+// Generated by CoffeeScript 1.5.0
(function() {
exports.cookie_secret = "asdlgjsdklasdlgkjaslkdgjslkad";
View
2  lib/cron.js
@@ -1,4 +1,4 @@
-// Generated by CoffeeScript 1.4.0
+// Generated by CoffeeScript 1.5.0
(function() {
module.exports = function() {
View
2  lib/defaultConfig.js
@@ -1,4 +1,4 @@
-// Generated by CoffeeScript 1.4.0
+// Generated by CoffeeScript 1.5.0
(function() {
var path;
View
5 lib/index.js
@@ -1,4 +1,4 @@
-// Generated by CoffeeScript 1.4.0
+// Generated by CoffeeScript 1.5.0
(function() {
var Tapas,
__bind = function(fn, me){ return function(){ return fn.apply(me, arguments); }; };
@@ -8,11 +8,8 @@
function Tapas(config) {
this.config = config;
this.worker = __bind(this.worker, this);
-
this.cron = __bind(this.cron, this);
-
this.app = __bind(this.app, this);
-
}
Tapas.create = function(config) {
View
2  lib/stream.js
@@ -1,4 +1,4 @@
-// Generated by CoffeeScript 1.4.0
+// Generated by CoffeeScript 1.5.0
(function() {
module.exports = function() {
View
2  lib/utils.js
@@ -1,4 +1,4 @@
-// Generated by CoffeeScript 1.4.0
+// Generated by CoffeeScript 1.5.0
(function() {
var deepExtend, getParentFolderName, path,
__slice = [].slice,
Please sign in to comment.
Something went wrong with that request. Please try again.