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
/* CSS generated by http://lavishbootstrap.com */ | |
/*! normalize.css v2.1.0 | MIT License | git.io/normalize */ | |
article, | |
aside, | |
details, | |
figcaption, | |
figure, | |
footer, | |
header, | |
hgroup, |
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
starting! | |
allowed_hosts: fitznet41.duckdns.org:3000,assets.zlcdn.com,ziplist.com,localhostgoing! | |
got html! | |
resource: http://contentz.mkt922.com/lp/static/js/iMAWebCookie.js?4d7a0e1f-138166aefa8-df4cba773885eb54dfcebd294a039c37&h=www.pages02.net - ABORT | |
resource: http://assets.pinterest.com/js/pinit.js - ABORT | |
resource: http://fitznet41.duckdns.org:3000/assets/tmwland.css?body=1 - ABORT | |
resource: http://fitznet41.duckdns.org:3000/assets/ziplist-web/theme.css?body=1 - ABORT | |
resource: http://fitznet41.duckdns.org:3000/assets/tmwland/utils/setup_z.js?body=1 - OK | |
resource: http://fitznet41.duckdns.org:3000/assets/tmwland/utils/lodash.js?body=1 - OK |
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
starting! | |
allowed_hosts: fitznet41.duckdns.org:3000,assets.zlcdn.com,ziplist.com,localhostgoing! | |
got html! | |
resource: http://contentz.mkt922.com/lp/static/js/iMAWebCookie.js?4d7a0e1f-138166aefa8-df4cba773885eb54dfcebd294a039c37&h=www.pages02.net - ABORT | |
resource: http://assets.pinterest.com/js/pinit.js - ABORT | |
resource: http://fitznet41.duckdns.org:3000/assets/tmwland.css?body=1 - ABORT | |
resource: http://fitznet41.duckdns.org:3000/assets/ziplist-web/theme.css?body=1 - ABORT | |
resource: http://fitznet41.duckdns.org:3000/assets/tmwland/utils/setup_z.js?body=1 - OK | |
resource: http://fitznet41.duckdns.org:3000/assets/tmwland/utils/lodash.js?body=1 - OK |
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
test("Test that added_recipes will toggle the detail state", function () { | |
// Get our recipe | |
var recipe = Factories.make_recipe({in_box: false}); | |
var other_recipe = Factories.make_recipe(); | |
// Spying -- not needed. | |
$(document).trigger('recipes.show_recipe', recipe); | |
// Now make sure that it is showing the "Save Recipe" button |
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 url = "http://thehungryhousewife.ziplist.com/webkitchen/button/add_recipe?as_partner=thehungryhousewife&url=http%3A%2F%2Fwww.thehungryhousewife.com%2F2014%2F07%2Fpeach-cobbler.html"; | |
var page = require('webpage').create(); | |
page.onResourceRequested = function(request) { | |
console.log('Request ' + JSON.stringify(request, undefined, 4)); | |
}; | |
page.onResourceReceived = function(response) { | |
console.log('Receive ' + JSON.stringify(response, undefined, 4)); | |
}; | |
page.open(url); |
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
#!/usr/bin/php | |
<?php | |
# Git Prepare Commit Message Hook Script | |
# | |
# Location: <repository>/.git/hooks/prepare-commit-msg | |
# | |
# This script will automatically add the correct | |
# Pivotal Ticket ID to the beginning of each commit message | |
# When the branch ID is starts with the Pivotal Message ID. |
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 response_spy = sinon.spy(); | |
$(document).on('recipes.response_details", response_spy); | |
$(document).trigger("recipes.request_details", { guid: "123"}); | |
// Now there should be a pending AJAX request to the server. | |
var req = this.last_xhr_request(); | |
// You can inspect it ot make sure it's going to the right URL, etc. (look at other tests). |
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
// These live in app/assets/stylesheets/tmwland.scss | |
// and files below that. | |
// You'll probably make a file | |
// app/assets/stylesheets/tmwland/_XXXXX.scss | |
// and import it into the tmwland.scss file | |
// Put all your color definitions in tmwland/_colors.scss | |
// Don't worry too much about consolidating them, we'll clean up later (I think / hope!) |
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
-# Somewhere in here | |
-# Add the top_bar div. | |
-# Might just remove the #directions bar | |
-# And add yours there (we'll ned to figure out a different way to let people test then!) |
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
class MetaRecipe | |
module API | |
def find_by_foo() | |
... | |
end | |
end | |
# No Public Class Methods? | |
# Instance Methods | |
end |