This file contains 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
jQuery Test Suite | |
Hide passed testsHide missing tests (untested code is broken code) | |
Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/534.3 (KHTML, like Gecko) Chrome/6.0.472.55 Safari/534.3 | |
traversing: contents() (2, 2, 4) | |
Died on test #3: Cannot read property 'body' of undefined | |
Expected 12 assertions, but 3 were run | |
effects: show(Number) - other displays (2, 0, 2) | |
Died on test #1: rdashAlpha is not defined | |
Expected 15 assertions, but 1 were run | |
effects: animate(Hash, Object, Function) (1, 0, 1) |
This file contains 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
<html> | |
<head> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$('a').live('click', function () { alert('click'); }); | |
$('form').live('submit', function () { alert('submit'); }); | |
</script> | |
</head> | |
<body> | |
<form><input type="submit"/></form> |
This file contains 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
<html> | |
<head> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$('a').live('click', function () { alert('click'); }); | |
$('form').live('submit', function () { alert('submit'); }); | |
</script> | |
</head> | |
<body> | |
<form><input type="submit"/></form> |
This file contains 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
<html> | |
<head> | |
<style>v\:oval { behavior:url(#default#VML); display:inline-block }</style> | |
<xml:namespace ns="urn:schemas-microsoft-com:vml" prefix="v" /> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | |
<script type="text/javascript"> | |
$(document).ready(function () { | |
$('oval').click(function () { alert("type" in this); alert(this.type); } ); | |
}) | |
</script> |
This file contains 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
C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/ci_reporter-1.6.2.3dfd4f47a155959e6c7d2aa04a9906fb7153428a/lib/ci/reporter/rspec.rb:42: uninitialized constant CI::Reporter::Spec (NameError) | |
from C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/ci_reporter-1.6.2.3dfd4f47a155959e6c7d2aa04a9906fb7153428a/lib/ci/reporter/rspec.rb:6:in `require' | |
from C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/ci_reporter-1.6.2.3dfd4f47a155959e6c7d2aa04a9906fb7153428a/lib/ci/reporter/rake/rspec_loader.rb:6 | |
from C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/ci_reporter-1.6.2.3dfd4f47a155959e6c7d2aa04a9906fb7153428a/lib/ci/reporter/rake/rspec_loader.rb:154:in `require' | |
from C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/configuration.rb:154:in `requires=' | |
from C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/configuration.rb:154:in `map' | |
from C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspec-core-2.0.0.beta.22/lib/rspec/core/configuration.rb:154:in `requires=' | |
from C:/jruby-1.5.2/lib/ruby/gems/1.8/gems/rspe |
This file contains 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
I have bundler installed in the @global gemset but not in the default gemset: | |
$ rvm use @global | |
Using /Users/jfire/.rvm/gems/jruby-1.5.3 with gemset global | |
$ gem list | grep bundler | |
bundler (1.0.2) | |
$ rvm use jruby | |
Using /Users/jfire/.rvm/gems/jruby-1.5.3 | |
$ gem which bundler | |
/Users/jfire/.rvm/gems/jruby-1.5.3@global/gems/bundler-1.0.2/lib/bundler.rb |
This file contains 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
~/Development/SCM ☯〠 ruby --profile.graph -rubygems -e'require "bundler"' | |
%total %self total self children calls name | |
--------------------------------------------------------------------------------------------------------- | |
100% 0% 1.12 0.00 1.12 0 (top) | |
0.67 0.00 0.67 1/31 Kernel#require | |
0.44 0.05 0.39 1/112 Kernel#gem_original_require | |
0.00 0.00 0.00 145/251 Class#inherited | |
--------------------------------------------------------------------------------------------------------- | |
0.00 0.00 0.00 1/31 Gem::Specification#add_dependency_with_type | |
0.00 0.00 0.00 1/31 Gem::SourceIndex.spec_directories_from_classpath |
This file contains 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
class A | |
class B | |
end | |
end | |
A.class_eval do | |
B | |
end |
This file contains 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
puts "#{RUBY_VERSION}-p#{RUBY_PATCHLEVEL}" | |
class Foo | |
class Bar | |
end | |
end | |
Baz = Class.new do | |
class Quux | |
end |
This file contains 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 'rspec' | |
describe "a TestClass" do | |
class TestClass < String | |
end | |
end | |
describe "other TestClass" do | |
class TestClass < Integer | |
end |