mirror of
https://github.com/amark/gun.git
synced 2025-06-06 06:06:50 +00:00
clean html for live realtime push sync demo
This commit is contained in:
parent
9e71c88198
commit
946624cd6f
@ -58,19 +58,8 @@
|
||||
</form>
|
||||
</li>
|
||||
</ul>
|
||||
<div id="debug">SUP</div>
|
||||
<script>
|
||||
function debug(s){
|
||||
document.getElementById('debug').innerHTML = s;
|
||||
}
|
||||
//var gun = Gun([location + 'gun']);
|
||||
var gun = Gun(['http://localhost:8888/' + 'gun']);
|
||||
/*
|
||||
(function(){
|
||||
debug('meow ');// + tab.com.toString());
|
||||
tab.com.jsonp();
|
||||
})();
|
||||
*/
|
||||
var gun = Gun([location + 'gun']);
|
||||
angular.module('admin', []).controller('editor', function($scope){
|
||||
$scope.data = {};
|
||||
$scope.$data = gun.load('blob/data', function(data){
|
||||
|
Loading…
x
Reference in New Issue
Block a user