mirror of
https://github.com/pcottle/learnGitBranching.git
synced 2025-06-27 08:28:50 +02:00
woo command now working too
This commit is contained in:
parent
24139d8ec5
commit
88f5c2d2b3
3 changed files with 23 additions and 2 deletions
|
@ -6571,6 +6571,13 @@ var init = function() {
|
||||||
].join(''));
|
].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)) {
|
if (/(iPhone|iPod|iPad).*AppleWebKit/i.test(navigator.userAgent)) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
eventBaton.trigger('commandSubmitted', 'iOS alert');
|
eventBaton.trigger('commandSubmitted', 'iOS alert');
|
||||||
|
@ -18499,6 +18506,13 @@ var init = function() {
|
||||||
].join(''));
|
].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)) {
|
if (/(iPhone|iPod|iPad).*AppleWebKit/i.test(navigator.userAgent)) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
eventBaton.trigger('commandSubmitted', 'iOS alert');
|
eventBaton.trigger('commandSubmitted', 'iOS alert');
|
||||||
|
|
|
@ -132,6 +132,13 @@ var init = function() {
|
||||||
].join(''));
|
].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)) {
|
if (/(iPhone|iPod|iPad).*AppleWebKit/i.test(navigator.userAgent)) {
|
||||||
setTimeout(function() {
|
setTimeout(function() {
|
||||||
eventBaton.trigger('commandSubmitted', 'iOS alert');
|
eventBaton.trigger('commandSubmitted', 'iOS alert');
|
||||||
|
|
4
todo.txt
4
todo.txt
|
@ -1,6 +1,5 @@
|
||||||
Big Things
|
Big Things
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
[ ] import random level JSON
|
|
||||||
[ ] compare settings for a level!!! integrated into builder...
|
[ ] compare settings for a level!!! integrated into builder...
|
||||||
|
|
||||||
Medium things:
|
Medium things:
|
||||||
|
@ -22,11 +21,12 @@ Big Bugs to fix:
|
||||||
|
|
||||||
Ideas for cleaning
|
Ideas for cleaning
|
||||||
~~~~~~~~~~~~~
|
~~~~~~~~~~~~~
|
||||||
- CSS... a ton. Switch to less
|
- CSS... a ton. Switch to less ?
|
||||||
|
|
||||||
Done things:
|
Done things:
|
||||||
(I only started this on Dec 17th 2012 to get a better sense of what was done)
|
(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] export / import tree from JSON
|
||||||
[x] rebase bug... ugh
|
[x] rebase bug... ugh
|
||||||
[x] bug with weird tree string:
|
[x] bug with weird tree string:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue