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