diff --git a/auth.coffee b/auth.coffee index 816c209..16dad4a 100644 --- a/auth.coffee +++ b/auth.coffee @@ -1,7 +1,7 @@ config = require './config.coffee' everyauth = module.exports = require 'everyauth' -everyauth.debug = true +everyauth.debug = false everyauth.everymodule.moduleErrback (err) -> console.log "Auth ERROR - "+err diff --git a/main.coffee b/main.coffee index 5398622..90e48a7 100644 --- a/main.coffee +++ b/main.coffee @@ -108,7 +108,6 @@ app.get '/:id', (req, res) -> app.get '/:id/edit', (req, res) -> scene.findById req.params.id, (err, doc) -> if doc - console.log doc.value res.render 'edit', { locals:{ title:"Spark." diff --git a/public/js/jquery.wookmark.min.js b/public/js/jquery.wookmark.min.js new file mode 100755 index 0000000..6007733 --- /dev/null +++ b/public/js/jquery.wookmark.min.js @@ -0,0 +1,11 @@ +/*! + jQuery Wookmark plugin 0.4 + @name jquery.wookmark.js + @author Christoph Ono (chri@sto.ph or @gbks) + @version 0.4 + @date 3/06/2012 + @category jQuery plugin + @copyright (c) 2009-2012 Christoph Ono (www.wookmark.com) + @license Licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) license. +*/ +$.fn.wookmark=function(a){if(!this.wookmarkOptions){this.wookmarkOptions=$.extend({container:$("body"),offset:2,autoResize:false,itemWidth:$(this[0]).outerWidth(),resizeDelay:50},a)}else if(a){this.wookmarkOptions=$.extend(this.wookmarkOptions,a)}if(!this.wookmarkColumns){this.wookmarkColumns=null;this.wookmarkContainerWidth=null}this.wookmarkLayout=function(){var a=this.wookmarkOptions.itemWidth+this.wookmarkOptions.offset;var b=this.wookmarkOptions.container.width();var c=Math.floor((b+this.wookmarkOptions.offset)/a);var d=Math.round((b-(c*a-this.wookmarkOptions.offset))/2);var e=0;if(this.wookmarkColumns!=null&&this.wookmarkColumns.length==c){e=this.wookmarkLayoutColumns(a,d)}else{e=this.wookmarkLayoutFull(a,c,d)}this.wookmarkOptions.container.css("height",e+"px")};this.wookmarkLayoutFull=function(a,b,c){var d=[];while(d.length