jasmine-headless-webkit-pre.../js/showoffcore.js
2011-12-12 09:47:15 -05:00

13 lines
334 B
JavaScript

// Make CORE.out() write to showoff 'result' global variable http://github.com/scottbale/showoff
(function(CORE){
CORE.require = function(toImport){
//nothing to do
};
CORE.out = function(output){
result = result || '';
result = result + '<p>' + output + '</p>';
};
return CORE;
}(CORE));