Fix debug scripts after change to namespace.

This commit is contained in:
Ian Gulliver
2014-05-13 17:42:52 +03:00
parent b93481cb10
commit e7221f9050
2 changed files with 2 additions and 2 deletions

View File

@@ -73,7 +73,7 @@ var callbacks = {
}, },
}; };
var cosmo = new cosmopolite.Client(callbacks); var cosmo = new Cosmopolite(callbacks);
</script> </script>
</body> </body>
</html> </html>

View File

@@ -101,7 +101,7 @@ window.addEventListener('load', function() {
}, },
}; };
var debug = new cosmopolite.Client(callbacks); var debug = new Cosmopolite(callbacks);
document.getElementById('subscribe').addEventListener('click', function() { document.getElementById('subscribe').addEventListener('click', function() {
debug.subscribe(subject.value, -1); debug.subscribe(subject.value, -1);