R doesn't need to be global.. yet..
This commit is contained in:
parent
23e38e90e4
commit
7d50c9ef6c
4
radia.js
4
radia.js
|
@ -1,9 +1,9 @@
|
||||||
var R;
|
// var R;
|
||||||
|
|
||||||
|
|
||||||
$(function() {
|
$(function() {
|
||||||
$.getJSON("radia.json", {}, function(data) {
|
$.getJSON("radia.json", {}, function(data) {
|
||||||
R = data;
|
var R = data;
|
||||||
var $texts = [];
|
var $texts = [];
|
||||||
$('text').each(function() {
|
$('text').each(function() {
|
||||||
var $tspan = $(this).children('tspan').eq(0);
|
var $tspan = $(this).children('tspan').eq(0);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user