forked from GitHub/gf-core
Fixed encoding issue in Web RGL Browser
This commit is contained in:
@@ -72,7 +72,6 @@ $(document).ready(function() {
|
||||
.click(function(){
|
||||
showPanel(b);
|
||||
})
|
||||
// .appendTo("#tabbar");
|
||||
.insertBefore("#loading");
|
||||
});
|
||||
showPanel(".panel:first");
|
||||
@@ -95,6 +94,7 @@ $(document).ready(function() {
|
||||
$.ajax({
|
||||
url: "tags/"+module+".gf-tags",
|
||||
type: "GET",
|
||||
dataType: "text",
|
||||
success: function(data){
|
||||
var data = data.replace(/^(\S+)\s+(.+)$/gm, '<dt name="$1">$1</dt><dd name="$1">$2</dd>');
|
||||
data = data.replace(/\s(\/lib\/\S+?\.gf(-tags)?)/gm, '<a href="$1">$1</a>');
|
||||
@@ -149,6 +149,7 @@ $(document).ready(function() {
|
||||
$.ajax({
|
||||
url: urlPrefix + "/lib/src/"+lang+"/"+module+".gf",
|
||||
type: "GET",
|
||||
dataType: "text",
|
||||
success: function(data){
|
||||
$('#code').html(data);
|
||||
$("#loading").hide();
|
||||
|
||||
Reference in New Issue
Block a user