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
# work around bug in xml report | |
echo '<?xml version="1.0" encoding="UTF-8" ?>\n<testsuites>' > buster.xml | |
sed "s|^<.*$||g" buster0.xml >> buster.xml | |
echo "\n</testsuites>" >> buster.xml |
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
[buildout] | |
extends = buildout.cfg | |
unzip = true | |
parts += | |
# omelette | |
codeintel | |
[omelette] | |
recipe = collective.recipe.omelette | |
eggs = ${sdidemo:eggs} |
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
buster.assertions.add('keys', { | |
assert: function (actual, keys) { | |
var keyMap = {}; | |
var keyCnt = 0; | |
for (var i=0; i<keys.length; i++) { | |
keyMap[keys[i]] = true; | |
keyCnt += 1; | |
} | |
for (var key in actual) { | |
if (actual.hasOwnProperty(key)) { |
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
$('#messages') | |
.empty() | |
.append( | |
$('<div class="alert"></div>') | |
.append(args.flash) | |
) | |
.height(0) | |
.animate({ | |
height: '100%' | |
}); |
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
// | |
// Running the reference example: eat our own dogfood. | |
// | |
var libs = [ | |
'examples/testlib/jquery-1.6.2.min.js', | |
'examples/testlib/jquery.ui.widget.js' | |
]; | |
config.Dogfood = { |
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
module.exports = function(grunt) { | |
var jsFiles = { | |
'src/substanced/substanced/sdi/static/js/slickgrid.upstream.js': [ | |
'src/slickgrid/plugins/slick.responsiveness.js', | |
'src/slickgrid/bootstrap/bootstrap-slickgrid.js', | |
'src/slickgrid/lib/jquery-ui-1.8.16/jquery.ui.core.js', | |
'src/slickgrid/lib/jquery-ui-1.8.16/jquery.ui.widget.js', |
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
buster.assert.exception(block, function (err) { | |
return err.message.slice(0, expected.length) == expected; // startswith | |
}, message); |
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
{ | |
"name": "sdidev-resources", | |
"version": "0.1.0", | |
"dependencies": { | |
"jquery": "*", | |
"bootstrap": "*", | |
"slickgrid": "*" | |
}, | |
"development": { |
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
#! /bin/sh | |
# -- | |
# How to simulate network latency and errors on macosx. | |
# | |
# After this you can access the 127.0.0.10 as an alias | |
# to your localhost, but with a roundtrip delay. | |
# | |
# delay 150ms adds the delay to the given pipe (*) | |
# plr 0.05 simulates packet loss. |
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
{ | |
"bootstrap": { | |
"source": {} | |
}, | |
"jquery": { | |
"source": { | |
"scripts": "components/jquery/jquery.js" | |
} | |
}, | |
"jquery-ui": { |
OlderNewer