update example
This commit is contained in:
parent
8be5ffbb2c
commit
ffe27a69d5
1 changed files with 2 additions and 2 deletions
|
@ -8,7 +8,7 @@ Ox.load('UI', function() {
|
||||||
/*
|
/*
|
||||||
Create a new Ox.UI widget.
|
Create a new Ox.UI widget.
|
||||||
*/
|
*/
|
||||||
Ox.IPV4Map = function(options, self) {
|
Ox.IPv4Map = function(options, self) {
|
||||||
|
|
||||||
self = self || {};
|
self = self || {};
|
||||||
var that = Ox.Element({}, self)
|
var that = Ox.Element({}, self)
|
||||||
|
@ -1028,7 +1028,7 @@ Ox.load('UI', function() {
|
||||||
|
|
||||||
Ox.getJSON('json/bookmarks.json', function(bookmarks) {
|
Ox.getJSON('json/bookmarks.json', function(bookmarks) {
|
||||||
Ox.getJSONP(lookupURL, function(data) {
|
Ox.getJSONP(lookupURL, function(data) {
|
||||||
Ox.IPV4Map({
|
Ox.IPv4Map({
|
||||||
bookmarks: bookmarks,
|
bookmarks: bookmarks,
|
||||||
ip: data.ip.indexOf(':') == -1 ? data.ip : '127.0.0.1',
|
ip: data.ip.indexOf(':') == -1 ? data.ip : '127.0.0.1',
|
||||||
lookupURL: lookupURL,
|
lookupURL: lookupURL,
|
||||||
|
|
Loading…
Reference in a new issue