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
// dom HtmlOptionElement selected in a select element | |
$("#filterTypes")[0][$("#filterTypes").attr("selectedIndex")] |
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
/* After: */ | |
// ... | |
if (isNodeContent) | |
{ | |
writer.WriteStartElement(name); | |
writer.WriteValue(item); | |
writer.WriteEndElement(); | |
} | |
else if (isFromLinq) | |
{ |
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
<a href="javascript:window.open('http://worksforme.com.br', | |
'poopup', | |
'toolbar=no, width=300, height=300, statusbar=no')">Worksforme</a> |
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
<a href="#" onclick="javascript:window.open('http://worksforme.com.br', | |
'poopup', | |
'toolbar=no, width=300, height=300, statusbar=no')">Worksforme 2</a> |
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
<a href="http://worksforme.com.br" | |
id="link_to_worksforme">Worksforme 3</a> | |
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
function worksforme_click_link() | |
{ | |
all_links = document.getElementsByTagName("a"); | |
link = null; | |
for(i=0; i < all_links.length; i++) | |
{ | |
link = all_links[i]; | |
is_my_link = link.id == "link_to_worksforme"; | |
if ( is_my_link ) | |
{ |
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
$(document).ready(function(){ | |
$("#link_to_worksforme_jquery").click(function() | |
{ | |
window.open('http://worksforme.com.br', 'poopup', | |
'toolbar=no, width=300, height=300, statusbar=no'); | |
return false; | |
}); | |
}); |
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 "rubygems" | |
require "celerity" | |
module Screwlerity | |
class Runner | |
def initialize(browser = Celerity::Browser.new) | |
@browser = browser | |
end | |
def run_all |
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
cucumber features/client.feature -f pretty |
OlderNewer