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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>Testem + QUnit</title> | |
<script type='text/javascript' src='steal/steal.js'></script> | |
<script type='text/javascript'> | |
// Load funcunit and qunit first, then the testem.js, | |
// then our qunit tests. | |
var testFiles = []; |
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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>Testem + QUnit</title> | |
<script type='text/javascript' src='steal/steal.js'></script> | |
<script type='text/javascript'> | |
// Load funcunit and qunit first, then the testem.js, | |
// then our qunit tests. | |
var testFiles = []; | |
testFiles.push('src\foo.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
<!DOCTYPE HTML> | |
<html> | |
<head> | |
<title>Testem + QUnit</title> | |
<script type='text/javascript' src='steal/steal.js'></script> | |
<script type='text/javascript'> | |
// Load funcunit and qunit first, then the testem.js, | |
// then our qunit tests. | |
var testFiles = []; | |
testFiles.push('src\foo.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
$(function() { | |
// Tons of code. | |
$('.btn').click(function() { | |
// Do something. | |
}); | |
// Tons of code | |
}); |
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
{ | |
"test_page": "testem.mustache", | |
"framework": "mocha", | |
"src_files": [ | |
"lib/**/*.js", | |
"test/**/*.js" | |
], | |
"serve_files": [ | |
"test/**/*.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
PidFile = /var/hhvm/hhvm.pid | |
Server { | |
Port = 80 | |
SourceRoot = /var/www/ | |
DefaultDocument = index.php | |
} | |
Log { | |
Level = Warning |
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
/* jshint node: true */ | |
module.export = function() { | |
}; |
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
block content |
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
exports.hello = 'world1'; | |
exports.file2 = require('./file2'); | |
exports.file3 = require('./file3'); |
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
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="UTF-8"> | |
<title>Slow regexp</title> | |
</head> | |
<body> | |
<script> | |
function convertHtmlToText(html) { | |
el.innerHTML = html; |
OlderNewer