R doesn't need to be global.. yet..
This commit is contained in:
parent
23e38e90e4
commit
7d50c9ef6c
1 changed files with 2 additions and 2 deletions
4
radia.js
4
radia.js
|
@ -1,9 +1,9 @@
|
|||
var R;
|
||||
// var R;
|
||||
|
||||
|
||||
$(function() {
|
||||
$.getJSON("radia.json", {}, function(data) {
|
||||
R = data;
|
||||
var R = data;
|
||||
var $texts = [];
|
||||
$('text').each(function() {
|
||||
var $tspan = $(this).children('tspan').eq(0);
|
||||
|
|
Loading…
Add table
Reference in a new issue