woo command now working too

This commit is contained in:
Peter Cottle 2013-01-13 11:32:45 -08:00
parent 24139d8ec5
commit 88f5c2d2b3
3 changed files with 23 additions and 2 deletions

View file

@ -6571,6 +6571,13 @@ var init = function() {
].join(''));
});
}
if (/command=/.test(window.location.href)) {
var commandRaw = window.location.href.split('command=')[1].split('&')[0];
var command = unescape(commandRaw);
sandbox.mainVis.customEvents.on('gitEngineReady', function() {
eventBaton.trigger('commandSubmitted', command);
});
}
if (/(iPhone|iPod|iPad).*AppleWebKit/i.test(navigator.userAgent)) {
setTimeout(function() {
eventBaton.trigger('commandSubmitted', 'iOS alert');
@ -18499,6 +18506,13 @@ var init = function() {
].join(''));
});
}
if (/command=/.test(window.location.href)) {
var commandRaw = window.location.href.split('command=')[1].split('&')[0];
var command = unescape(commandRaw);
sandbox.mainVis.customEvents.on('gitEngineReady', function() {
eventBaton.trigger('commandSubmitted', command);
});
}
if (/(iPhone|iPod|iPad).*AppleWebKit/i.test(navigator.userAgent)) {
setTimeout(function() {
eventBaton.trigger('commandSubmitted', 'iOS alert');

View file

@ -132,6 +132,13 @@ var init = function() {
].join(''));
});
}
if (/command=/.test(window.location.href)) {
var commandRaw = window.location.href.split('command=')[1].split('&')[0];
var command = unescape(commandRaw);
sandbox.mainVis.customEvents.on('gitEngineReady', function() {
eventBaton.trigger('commandSubmitted', command);
});
}
if (/(iPhone|iPod|iPad).*AppleWebKit/i.test(navigator.userAgent)) {
setTimeout(function() {
eventBaton.trigger('commandSubmitted', 'iOS alert');

View file

@ -1,6 +1,5 @@
Big Things
~~~~~~~~~~~~~~~~~~~~~~~~~
[ ] import random level JSON
[ ] compare settings for a level!!! integrated into builder...
Medium things:
@ -22,11 +21,12 @@ Big Bugs to fix:
Ideas for cleaning
~~~~~~~~~~~~~
- CSS... a ton. Switch to less
- CSS... a ton. Switch to less ?
Done things:
(I only started this on Dec 17th 2012 to get a better sense of what was done)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
[x] import random level JSON
[x] export / import tree from JSON
[x] rebase bug... ugh
[x] bug with weird tree string: