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
<!-- Syntax highlighter 3.0.83 --> | |
<script src="js/XRegExp.js" type="text/javascript" charset="utf-8"></script> | |
<script src="js/shCore.js" type="text/javascript" charset="utf-8"></script> | |
<script src="js/shBrushRuby.js" type="text/javascript" charset="utf-8"></script> | |
<link rel="stylesheet" href="css/shCore.css"> | |
<link rel="stylesheet" href="css/shThemeDefault.css"> |
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
<!-- BEGIN CURRENT VERSION --> | |
<div class="screencast"> | |
Screencast: | |
<a class="screencast-url" href="https://github.com/armandofox/saasbook/blob/master/ch%CB%99arch/mov/cookies.mp4?raw=true">Cookies</a> | |
<div class="screencastsummary"> | |
<!-- summary stays here --> | |
</div> | |
</div> | |
<!-- END CURRENT VERSION --> |
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
<!-- BEGIN CURRENT VERSION --> | |
<!-- FIX: this id should be "toc" --> | |
<div data-role="page" id="chapter_0" data-url="chapter_0" tabindex="0" class="ui-page ui-body-c ui-page-active" style="min-height: 571px; "> | |
<div data-role="content" class="ui-content" role="main"> | |
<h2 class="chapterhead"> | |
0. <a id="x1-1000" class="ui-link"></a>Contents | |
</h2> | |
<!-- FIX: this page div and content div should not be here --> | |
<div data-role="page" id="toc" data-url="toc"> |
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
<html> | |
<head></head> | |
<body> | |
<!-- cover, copyright, dedication, TOC, Foreword page divs --> | |
<!-- | |
The ONLY child tags under <body> should be page divs: | |
<div data-role="page" id="unique-name">...</div> | |
The ONLY child tags under each page div should be content and footer, in that order: |
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
<!doctype html> | |
<html> | |
<body> | |
<div class="chrome"> | |
<div class="viewer"> | |
</div> | |
<div class="controls"> | |
<div class="pagewidth"> | |
<span class="pagenumbers"> |
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 'selenium/rake/tasks' | |
namespace :selenium do | |
namespace :server do | |
desc "start the Selenium RC server" | |
task :start do | |
Selenium::Rake::RemoteControlStartTask.new do |rc| | |
rc.port = 4444 |
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 File.dirname(__FILE__) + '/../test_helper' | |
class InvitedCommenterTest < Test::Unit::TestCase | |
attr_reader :browser | |
def setup | |
@browser = Selenium::Client::Driver.new \ | |
:host => "localhost", | |
:port => 4444, | |
:browser => "*firefox", |