summaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/web/core/loader.html3
-rw-r--r--examples/web/physac/loader.html6
2 files changed, 4 insertions, 5 deletions
diff --git a/examples/web/core/loader.html b/examples/web/core/loader.html
index affc6c8..bc8187b 100644
--- a/examples/web/core/loader.html
+++ b/examples/web/core/loader.html
@@ -74,8 +74,7 @@
}, 'text');
// Quick hack for some examples not working on web
- if ((name == "core_drop_files") ||
- (name == "core_storage_values"))
+ if (0)
{
$('#eximage').append('<img src="' + imgUrl + '" alt=" ">');
}
diff --git a/examples/web/physac/loader.html b/examples/web/physac/loader.html
index affc6c8..368a5e2 100644
--- a/examples/web/physac/loader.html
+++ b/examples/web/physac/loader.html
@@ -58,13 +58,13 @@
document.title = "raylib - " + name.replace('_', ' ');
- var type = name.substring(0, name.indexOf("_"));
+ //var type = name.substring(0, name.indexOf("_"));
//var srcUrl = '../../src/' + type + '/' + name + '.c';
//var imgUrl = '../' + type + '/' + name + '.png';
// Get example code and image directly from original raylib GitHub and avoid duplicate code to maintain
- var srcUrl = 'https://raw.githubusercontent.com/raysan5/raylib/master/examples/' + type + '/' + name + '.c';
- var imgUrl = 'https://raw.githubusercontent.com/raysan5/raylib/master/examples/' + type + '/' + name + '.png';
+ var srcUrl = 'https://raw.githubusercontent.com/raysan5/raylib/master/examples/physac/' + name + '.c';
+ var imgUrl = 'https://raw.githubusercontent.com/raysan5/raylib/master/examples/physac/' + name + '.png';
$('#eximage img').attr('src', imgUrl);