Permalink
Browse files

Updated docs

  • Loading branch information...
1 parent f0bf985 commit 31648eed24a7570a9456938739a750af57fa15a4 @henrypoydar committed Sep 20, 2009
Showing with 9 additions and 11 deletions.
  1. +2 −4 README.mdown
  2. +2 −6 deploy.rb
  3. +2 −1 lib/javascripts/application.js
  4. +3 −0 lib/javascripts/controller.js
View
@@ -15,10 +15,7 @@ Admittedly this is software by me for me. I use Processing as a tool to inspire
* [Compass](http://github.com/chriseppstein/compass)
* [CouchApp](http://github.com/jchris/couchapp)
* [CouchDB](http://couchdb.apache.org)
-* [Processing](http://processing.org)
-* [Processing JS](http://processingjs.org)
-* [Ruby and Ruby Gems](http://www.ruby-lang.org)
-* [Sammy](http://code.quirkey.com/sammy)
+* [Sprockets](http://github.com/sstephenson/sprockets/)
## Installation and Usage
@@ -30,6 +27,7 @@ Admittedly this is software by me for me. I use Processing as a tool to inspire
## Development TODO
+* Refactor: move logic to Sammy ap
* Code editing (bespin)
* Share renderings via bit.ly
* Endless pagination
View
@@ -2,15 +2,12 @@
#
# Simple deploy recipe to wrap up the moving parts
-# of couchapp pushing based on .couchapprc settings,
-# sprockets concatenation, compass sass compilation,
-# jsmin compression and cssmin compression
+# of a couchapp push based on .couchapprc settings with
+# sprockets concatenation and compass sass compilation
#
require 'rubygems'
require 'sprockets'
-require 'jsmin'
-require 'cssmin'
deploy_env = ARGV && ARGV[0] ? ARGV[0] : 'default'
@@ -31,7 +28,6 @@
].flatten
)
-
puts "Concatenating javascripts ..."
concatenation = secretary.concatenation
@@ -1,5 +1,7 @@
$(document).ready(function() {
+ // TODO: Refactto logic back within Sammy context
+
$(".splitter").splitter({sizeLeft: 200});
$(".main_splitter").livequery(function() {
@@ -34,7 +36,6 @@ $(document).ready(function() {
$('form#sketch_form').submit();
});
-
// Expandable menu
$('#nav').each(function() {
var counter = 0
@@ -1,4 +1,5 @@
// Global CouchDB connection
+// TODO: refactor back within Sammy context
var couchapp = null;
$.CouchApp(function(app) {
couchapp = app;
@@ -112,6 +113,7 @@ $.CouchApp(function(app) {
});
get('#/rendering/:id', function() {
+ displayProgress();
var ctx = this;
couchapp.db.openDoc(ctx.params["id"], {
success: function(json) {
@@ -122,6 +124,7 @@ $.CouchApp(function(app) {
timestamp: couchapp.prettyDate(json.created_at),
}));
sh_highlightDocument();
+ clearProgress();
});
}
});

0 comments on commit 31648ee

Please sign in to comment.