clean html for live realtime push sync demo

This commit is contained in:
Mark Nadal 2014-09-21 02:50:49 -07:00
parent 9e71c88198
commit 946624cd6f

View File

@ -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){