added more conditional checks for javascripts to reduce computation load

This commit is contained in:
albert
2011-11-02 12:27:40 -04:00
parent 10141af07d
commit 02eac64bd9
20 changed files with 193 additions and 176 deletions

View File

@@ -10,52 +10,50 @@ GIT
GIT
remote: git://github.com/rgrove/sanitize.git
revision: afdfa8f7f4129820c573f94f79b99aed715a385d
revision: 052abea134e409c7f676f0cf56e6a2315b2a150b
specs:
sanitize (2.0.3)
nokogiri (>= 1.4.4, < 1.6)
GIT
remote: http://github.com/EmmanuelOga/ffaker.git
revision: f94bcf502fcdd4ba5f29155a3df1811af2663950
revision: 80dc4cf8531b12bf6f5425d2a35b27be91acc447
specs:
ffaker (1.8.1)
GEM
remote: http://gemcutter.org/
specs:
actionmailer (3.1.0)
actionpack (= 3.1.0)
actionmailer (3.1.1)
actionpack (= 3.1.1)
mail (~> 2.3.0)
actionpack (3.1.0)
activemodel (= 3.1.0)
activesupport (= 3.1.0)
actionpack (3.1.1)
activemodel (= 3.1.1)
activesupport (= 3.1.1)
builder (~> 3.0.0)
erubis (~> 2.7.0)
i18n (~> 0.6)
rack (~> 1.3.2)
rack-cache (~> 1.0.3)
rack-cache (~> 1.1)
rack-mount (~> 0.8.2)
rack-test (~> 0.6.1)
sprockets (~> 2.0.0)
activemodel (3.1.0)
activesupport (= 3.1.0)
bcrypt-ruby (~> 3.0.0)
sprockets (~> 2.0.2)
activemodel (3.1.1)
activesupport (= 3.1.1)
builder (~> 3.0.0)
i18n (~> 0.6)
activerecord (3.1.0)
activemodel (= 3.1.0)
activesupport (= 3.1.0)
activerecord (3.1.1)
activemodel (= 3.1.1)
activesupport (= 3.1.1)
arel (~> 2.2.1)
tzinfo (~> 0.3.29)
activeresource (3.1.0)
activemodel (= 3.1.0)
activesupport (= 3.1.0)
activesupport (3.1.0)
activeresource (3.1.1)
activemodel (= 3.1.1)
activesupport (= 3.1.1)
activesupport (3.1.1)
multi_json (~> 1.0)
arel (2.2.1)
awesome_print (0.4.0)
bcrypt-ruby (3.0.1)
builder (3.0.0)
chronic (0.6.4)
coderay (0.9.8)
@@ -64,13 +62,11 @@ GEM
activesupport (~> 3.0)
daemons
erubis (2.7.0)
execjs (1.2.9)
multi_json (~> 1.0)
factory_girl (2.1.2)
factory_girl (2.2.0)
activesupport
hike (1.2.1)
i18n (0.6.0)
libv8 (3.3.10.2)
json (1.6.1)
mail (2.3.0)
i18n (>= 0.4.0)
mime-types (~> 1.16)
@@ -82,9 +78,11 @@ GEM
webrobots (~> 0.0, >= 0.0.9)
memcache-client (1.8.5)
metaclass (0.0.1)
method_source (0.6.5)
ruby_parser (>= 2.0.5)
mime-types (1.16)
method_source (0.6.7)
ruby_parser (>= 2.3.1)
mime-types (1.17.2)
mini_magick (3.3)
subexec (~> 0.1.0)
mocha (0.10.0)
metaclass (~> 0.0.1)
multi_json (1.0.3)
@@ -94,14 +92,14 @@ GEM
pg (0.11.0)
polyamorous (0.5.0)
activerecord (~> 3.0)
polyglot (0.3.2)
pry (0.9.6.2)
polyglot (0.3.3)
pry (0.9.7.3)
coderay (~> 0.9.8)
method_source (~> 0.6.5)
ruby_parser (~> 2.0.5)
method_source (~> 0.6.7)
ruby_parser (>= 2.3.1)
slop (~> 2.1.0)
rack (1.3.3)
rack-cache (1.0.3)
rack (1.3.5)
rack-cache (1.1)
rack (>= 0.4)
rack-mount (0.8.3)
rack (>= 1.0.0)
@@ -109,59 +107,52 @@ GEM
rack
rack-test (0.6.1)
rack (>= 1.0)
rails (3.1.0)
actionmailer (= 3.1.0)
actionpack (= 3.1.0)
activerecord (= 3.1.0)
activeresource (= 3.1.0)
activesupport (= 3.1.0)
rails (3.1.1)
actionmailer (= 3.1.1)
actionpack (= 3.1.1)
activerecord (= 3.1.1)
activeresource (= 3.1.1)
activesupport (= 3.1.1)
bundler (~> 1.0)
railties (= 3.1.0)
railties (3.1.0)
actionpack (= 3.1.0)
activesupport (= 3.1.0)
railties (= 3.1.1)
railties (3.1.1)
actionpack (= 3.1.1)
activesupport (= 3.1.1)
rack-ssl (~> 1.3.2)
rake (>= 0.8.7)
rdoc (~> 3.4)
thor (~> 0.14.6)
rake (0.9.2)
rdoc (3.9.4)
rmagick (2.13.1)
ruby_parser (2.0.6)
rake (0.9.2.2)
rdoc (3.11)
json (~> 1.4)
ruby_parser (2.3.1)
sexp_processor (~> 3.0)
sass (3.1.7)
sass (3.1.10)
sexp_processor (3.0.7)
shoulda (2.11.3)
silent-postgres (0.1.1)
simple_form (1.5.2)
actionpack (~> 3.0)
activemodel (~> 3.0)
simplecov (0.5.3)
simplecov (0.5.4)
multi_json (~> 1.0.3)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
slop (2.1.0)
sprockets (2.0.0)
sprockets (2.0.3)
hike (~> 1.2)
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
subexec (0.1.0)
super_exception_notifier (3.0.13)
actionmailer
rake
therubyracer (0.9.4)
libv8 (~> 3.3.10)
thor (0.14.6)
tilt (1.3.3)
treetop (1.4.10)
polyglot
polyglot (>= 0.3.1)
tzinfo (0.3.29)
uglifier (1.0.3)
execjs (>= 0.3.0)
multi_json (>= 1.0.2)
uglifier-rails (3.1.0.rc.2)
railties (~> 3.1.0.rc1)
uglifier (>= 1.0.0)
tzinfo (0.3.30)
webrobots (0.0.12)
nokogiri (>= 1.4.4)
whenever (0.7.0)
@@ -179,12 +170,12 @@ DEPENDENCIES
mechanize
memcache-client
meta_search!
mini_magick
mocha
nokogiri
pg
pry
rails (= 3.1.0)
rmagick
rails (= 3.1.1)
sanitize!
sass
shoulda
@@ -192,7 +183,4 @@ DEPENDENCIES
simple_form
simplecov
super_exception_notifier
therubyracer
uglifier
uglifier-rails
whenever