fe1b5435aa
When included after api.js, fake_api.js inits a FakeWhisperAPI. FakeWhisperAPI inherits the methods of API, overrides a few, and then usurps its place as the one true API. Single device mode successfully "registers" against FakeAPI. Sadly, multidevice mode has a recursive loop somewhere that makes the callstack asplode.
27 lines
1.5 KiB
HTML
27 lines
1.5 KiB
HTML
<html>
|
|
<head>
|
|
<script type="text/javascript" src="js-deps/nacl-common.js"></script>
|
|
<script type="text/javascript" src="js-deps/jquery.js"></script>
|
|
<script type="text/javascript" src="js-deps/jquery.atmosphere.js"></script>
|
|
<script type="text/javascript" src="js-deps/core.js"></script>
|
|
<script type="text/javascript" src="js-deps/enc-base64.js"></script>
|
|
<script type="text/javascript" src="js-deps/cipher-core.js"></script>
|
|
<script type="text/javascript" src="js-deps/aes.js"></script>
|
|
<script type="text/javascript" src="js-deps/mode-ctr-min.js"></script>
|
|
<script type="text/javascript" src="js-deps/pad-nopadding.js"></script>
|
|
<script type="text/javascript" src="js-deps/hmac-sha256.js"></script>
|
|
<script type="text/javascript" src="js-deps/curve255.js"></script>
|
|
<script type="text/javascript" src="js-deps/lib-typedarrays.js"></script>
|
|
<script type="text/javascript" src="js-deps/Long.min.js"></script>
|
|
<script type="text/javascript" src="js-deps/ByteBuffer.min.js"></script>
|
|
<script type="text/javascript" src="js-deps/ProtoBuf.min.js"></script>
|
|
<script type="text/javascript" src="js/helpers.js"></script>
|
|
<script type="text/javascript" src="js/api.js"></script>
|
|
<script type="text/javascript" src="js/fake_api.js"></script>
|
|
<script type="text/javascript" src="js/background.js"></script>
|
|
</head>
|
|
<body data-name="curve25519" data-tools="pnacl" data-configs="Debug Release" data-path="pnacl/{config}">
|
|
<div id="listener"></div>
|
|
<div id="log"></div>
|
|
</body>
|
|
</html>
|