mirror of
https://github.com/sehugg/8bitworkshop.git
synced 2024-11-19 09:31:24 +00:00
"works best in firefox" message
This commit is contained in:
parent
5ae8d28922
commit
0933d8e54c
@ -61,6 +61,7 @@ body {
|
||||
<button id="dbg_memory" type="submit" title="Show Memory" style="display:none"><span class="glyphicon glyphicon-sunglasses" aria-hidden="true"></span></button>
|
||||
<button id="dbg_profile" type="submit" title="Show Profile" style="display:none"><span class="glyphicon glyphicon-stats" aria-hidden="true"></span></button>
|
||||
</span>
|
||||
<span id="best_in_firefox" style="display:none;font-size:12px;font-style:italic;float:right;color:#666">Note: Works best in Firefox</span>
|
||||
</div>
|
||||
<div id="notebook">
|
||||
<div id="workspace">
|
||||
@ -181,6 +182,11 @@ body {
|
||||
startUI(true);
|
||||
</script>
|
||||
|
||||
<script>
|
||||
var isFirefox = navigator.userAgent.toLowerCase().indexOf('firefox') > -1;
|
||||
if (!isFirefox && platform_id != 'vcs') { $("#best_in_firefox").show(); }
|
||||
</script>
|
||||
|
||||
</body>
|
||||
<script>
|
||||
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
||||
|
@ -741,6 +741,7 @@ function compileSDCC(code, platform) {
|
||||
else code = preproc.code;
|
||||
|
||||
load("sdcc");
|
||||
//load("wasm/sdcc");
|
||||
//console.profile("sdcc");
|
||||
var params = PLATFORM_PARAMS[platform];
|
||||
if (!params) throw Error("Platform not supported: " + platform);
|
||||
|
Loading…
Reference in New Issue
Block a user