small cleanups
This commit is contained in:
parent
9de5460533
commit
1b1c160639
@ -9,9 +9,10 @@ Flowerbox =
|
||||
|
||||
contact: (url, data...) ->
|
||||
Flowerbox.started = true
|
||||
Flowerbox.done = true if url == 'results'
|
||||
|
||||
if !Flowerbox.debug
|
||||
Flowerbox.socket.send(JSON.stringify([ url, data ]))
|
||||
Flowerbox.done = true if url == 'results'
|
||||
|
||||
started: false
|
||||
done: false
|
||||
|
@ -93,7 +93,6 @@ jsdom.env(
|
||||
}
|
||||
|
||||
if (!gotFlowerbox && context.Flowerbox) {
|
||||
context.Flowerbox.baseUrl = "http://localhost:#{server.port}/";
|
||||
context.Flowerbox.environment = 'node';
|
||||
context.Flowerbox.UNKNOWN = '#{Flowerbox::Result::FileInfo::UNKNOWN}';
|
||||
|
||||
|
@ -62,9 +62,6 @@ console.log = function(msg) {
|
||||
#{template_files.join("\n")}
|
||||
<script type="text/javascript">
|
||||
Flowerbox.environment = '#{name}';
|
||||
Flowerbox.onQueueStateChange = function(msg) {
|
||||
//document.getElementById('queue').innerHTML = document.getElementById('queue').innerHTML + "\\n" + msg;
|
||||
};
|
||||
Flowerbox.UNKNOWN = '#{Flowerbox::Result::FileInfo::UNKNOWN}';
|
||||
|
||||
var context = this;
|
||||
|
@ -64,7 +64,6 @@ module Flowerbox
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
::Rack::Handler::Thin.run(rack_app, server_options) do |server|
|
||||
Thread.current[:server] = server
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user