This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var _el, _type, _n, _script; | |
_el = document.activeElement; | |
function _moreText(data) { | |
_el.value += data.sentences.join(''); | |
}; | |
if (_el) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Welcome to Simple. | |
// step 1. | |
// setup width first. | |
// If no setup, default: | |
// | |
// $all-width: 1000px; | |
// $sidebar-width: 250px; | |
// $sidebar-location: right; | |
// $padding: 0px; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/sass/scss/rx.rb b/lib/sass/scss/rx.rb | |
index 82f8367..64dc434 100644 | |
--- a/lib/sass/scss/rx.rb | |
+++ b/lib/sass/scss/rx.rb | |
@@ -49,11 +49,7 @@ module Sass | |
H = /[0-9a-fA-F]/ | |
NL = /\n|\r\n|\r|\f/ | |
UNICODE = /\\#{H}{1,6}[ \t\r\n\f]?/ | |
- s = if Sass::Util.ruby1_8? | |
- '\200-\377' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.some-class { | |
background: url('/images/xxx/icon-da5590e331.png') 20px -28px no-repeat; } | |
.some-class.current { | |
background: url('/images/xxx/icon-da5590e331.png') 20px -16px no-repeat; } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
undefined method `__jtrap' for EventMachine::WebSocket:Module | |
org/jruby/RubyKernel.java:1290:in `trap' | |
/Applications/compass.app/Contents/Resources/ruby/common/mloughran-em-websocket-ff5471b/lib/../lib/em-websocket/websocket.rb:11:in `start' | |
org/jruby/RubyProc.java:268:in `call' | |
org/jruby/RubyProc.java:228:in `call' | |
/Applications/compass.app/Contents/Resources/ruby/common/eventmachine-1.0.0.beta.3-java/lib/eventmachine.rb:1398:in `event_callback' | |
/Applications/compass.app/Contents/Resources/ruby/common/eventmachine-1.0.0.beta.3-java/lib/jeventmachine.rb:83:in `eventCallback' | |
/Applications/compass.app/Contents/Resources/ruby/common/eventmachine-1.0.0.beta.3-java/lib/jeventmachine.rb:102:in `run_machine' | |
/Applications/compass.app/Contents/Resources/ruby/common/eventmachine-1.0.0.beta.3-java/lib/eventmachine.rb:199:in `run' | |
/Applications/compass.app/Contents/Resources/ruby/common/mloughran-em-websocket-ff5471b/lib/../lib/em-websocket/websocket.rb:9:in `start' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
undefined method `__jtrap' for Kernel:Module | |
org/jruby/RubySignal.java:75:in `trap' | |
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.0/lib/compass/commands/watch_project.rb:62:in `perform' | |
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.0/lib/compass/commands/base.rb:18:in `execute' | |
/Applications/compass.app/Contents/Resources/ruby/compass_0.11/compass-0.11.0/lib/compass/commands/project_base.rb:19:in `execute' | |
src/ui/tray.rb:245:in `watch' | |
org/jruby/RubyProc.java:268:in `call' | |
org/jruby/RubyProc.java:232:in `call' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@import "compass"; | |
@import "compass/utilities/sprites"; | |
@import "fancy-buttons"; | |
@import "icons/*.png"; | |
@include all-icons-sprites; | |
$link_color: #69c; | |
#sidebar { | |
float: left; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "rubygems" | |
require "compass" | |
require "compass/exec" | |
def memory_usage | |
`ps -o rss= -p #{Process.pid}`.to_i | |
end | |
dir = '.' | |
memory_usages=[] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/lib/sass/tree/visitors/convert.rb b/lib/sass/tree/visitors/convert.rb | |
index 5eac1aa..188e195 100644 | |
--- a/lib/sass/tree/visitors/convert.rb | |
+++ b/lib/sass/tree/visitors/convert.rb | |
@@ -21,7 +21,7 @@ class Sass::Tree::Visitors::Convert < Sass::Tree::Visitors::Base | |
def visit_children(parent) | |
@tabs += 1 | |
return @format == :sass ? "\n" : " {}\n" if parent.children.empty? | |
- (@format == :sass ? "\n" : " {\n") + super.join.rstrip + (@format == :sass ? "\n" : " }\n") | |
+ (@format == :sass ? "\n" : " {\n") + super.join.rstrip + (@format == :sass ? "\n" : "\n#{' ' * (@tabs-1)}}\n") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Require any additional compass plugins here. | |
# Set this to the root of your project when deployed: | |
http_path = "/" | |
css_dir = "stylesheets" | |
sass_dir = "sass" | |
images_dir = "images" | |
javascripts_dir = "javascripts" | |
# You can select your preferred output style here (can be overridden via the command line): |
OlderNewer