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
window.addEvent('domready', function() { | |
$('fullconfreg').addEvent('click', calculate); | |
$('fullconfspouse').addEvent('click', calculate); | |
$('fullconfregfirsttime').addEvent('click', calculate); | |
$('intspeechticket').addEvent('click', calculate); | |
$('evalticket').addEvent('click', calculate); | |
$('fridinnerham').addEvent('click', calculate); | |
$('fridinnerroastbeef').addEvent('click', calculate); | |
$('fridinnerturkey').addEvent('click', calculate); | |
$('satlunch').addEvent('click', calculate); |
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
(function () { | |
"use strict"; | |
var vows = require('vows') | |
, suite | |
, batch | |
, helloWorld = require('./index') | |
, assert = require('assert') | |
, request = require('ahr2') | |
, createJoin = require('join') |
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 'rack' | |
## | |
# Tries to calculate size of the complete response. | |
# This middleware should be chained in front of everything else. | |
# Middleware taking care of compression, etag handling etc could | |
# produce wrong results. | |
# | |
# Leaves streaming intact and does work file bodies from sockets | |
# and files. |
NewerOlder