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