this.status_update = function() {
$xhr('JSON', '/_g/status?callback=JSON_CALLBACK', function(code,response) {
self.g = response;
});
}
this.status_update = function() {
$xhr('JSON', '/_g/status?callback=JSON_CALLBACK', function(code,response) {
self.g = response;
});
}
$xhr('JSON', self.url, function(code, response) {
self.code = code;
self.response = response;
$xhr('JSON', self.url, function(code, response) {
self.code = code;
self.response = response;
<option ng:repeat="f in g.status" ng:show="f.available" value="{{f.function}}">{{f.function}}</option>
<input type="text" name="args" value="127.0.0.1" size="40"/>
<button ng:click="fetch()">fetch</button>
<button ng:click="clear()">clear</button>
<option ng:repeat="f in g.status" ng:show="f.available" value="{{f.function}}">{{f.function}}</option>
<input type="text" name="args" value="127.0.0.1" size="40"/>
<button ng:click="fetch()">fetch</button>
<button ng:click="clear()">clear</button>