refactor and add the ability to inject custom code

This commit is contained in:
Keegan
2015-10-12 01:49:56 -07:00
parent 8c958f1bae
commit 53e49339b5
12 changed files with 65 additions and 82 deletions
+3 -1
View File
@@ -6,13 +6,15 @@
<link rel="stylesheet" href="styles/config-page.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<script>
window.returnTo = '$$RETURN_TO$$';
window.clayConfig = $$CONFIG$$;
window.claySettings = $$SETTINGS$$;
window.customFn = function() $$CUSTOM_FN$$;
</script>
</head>
<body>
<form id="main-form"></form>
<script src="../vendor/pebble-slate/dist/js/slate.min.js"></script>
<script src="../tmp/config-page.js"></script>
<script uglify src="../tmp/config-page.js"></script>
</body>
</html>