Commented out code for Windows

This commit is contained in:
Christophe Vilayphiou 2012-02-20 08:55:21 +08:00
parent f43646c9b6
commit c304819d6b
3 changed files with 1 additions and 6 deletions

View File

@ -19,7 +19,6 @@ gem 'ruby-debug19'
gem 'rubyzip'
gem 'sinatra'
gem 'sprockets'
gem 'therubyracer' # For linux
gem 'tinymce-rails'
# Gems used only for assets and not required

View File

@ -79,7 +79,6 @@ GEM
actionpack (>= 3.0.0)
activesupport (>= 3.0.0)
railties (>= 3.0.0)
libv8 (3.3.10.4)
linecache19 (0.5.12)
ruby_core_source (>= 0.1.4)
mail (2.3.0)
@ -175,8 +174,6 @@ GEM
rack (~> 1.0)
tilt (~> 1.1, != 1.3.0)
subexec (0.2.1)
therubyracer (0.9.9)
libv8 (~> 3.3.10)
thor (0.14.6)
tilt (1.3.3)
tinymce-rails (3.4.8)
@ -232,7 +229,6 @@ DEPENDENCIES
sinatra
spork
sprockets
therubyracer
tinymce-rails
uglifier
watchr

View File

@ -20,7 +20,7 @@ class Design
validates_presence_of :title
validates_presence_of :author
after_save :parse_css_for_images
# after_save :parse_css_for_images
def new_files=(*attrs)
attrs[0].map do |key,items_ary| #Loop by JSs,Themes,Imgs