We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4cac721 commit ecc92f5Copy full SHA for ecc92f5
javascripts/examples.js
@@ -9,9 +9,7 @@ var Examples = {
9
var lang = document.location.pathname.split('/')[1];
10
var name = Examples.random();
11
12
- $.get('/' + lang + '/examples/' + name + '.html', function(data) {
13
- $("#code").html(data);
14
- });
+ $("#code").load('/' + lang + '/examples/' + name + '.html');
15
}
16
};
17
0 commit comments