Point mobile.html to latest dist files on CDN

This commit is contained in:
JC Brand 2017-04-21 16:16:49 +02:00
parent 3ea43c6a0f
commit c244d100cf

View File

@ -11,13 +11,13 @@
<link rel="shortcut icon" type="image/ico" href="css/images/favicon.ico"/> <link rel="shortcut icon" type="image/ico" href="css/images/favicon.ico"/>
<link type="text/css" rel="stylesheet" media="screen" href="node_modules/bootstrap/dist/css/bootstrap.min.css" /> <link type="text/css" rel="stylesheet" media="screen" href="node_modules/bootstrap/dist/css/bootstrap.min.css" />
<link type="text/css" rel="stylesheet" media="screen" href="node_modules/font-awesome/css/font-awesome.min.css" /> <link type="text/css" rel="stylesheet" media="screen" href="node_modules/font-awesome/css/font-awesome.min.css" />
<link type="text/css" rel="stylesheet" media="screen" href="https://cdn.conversejs.org/2.0.1/css/theme.min.css" /> <link type="text/css" rel="stylesheet" media="screen" href="https://cdn.conversejs.org/css/theme.min.css" />
<link type="text/css" rel="stylesheet" media="screen" href="https://cdn.conversejs.org/2.0.1/css/converse.min.css" /> <link type="text/css" rel="stylesheet" media="screen" href="https://cdn.conversejs.org/css/converse.min.css" />
<link type="text/css" rel="stylesheet" media="screen" href="https://cdn.conversejs.org/2.0.1/css/mobile.min.css" /> <link type="text/css" rel="stylesheet" media="screen" href="https://cdn.conversejs.org/css/mobile.min.css" />
<script type="text/javascript" src="analytics.js"></script> <script type="text/javascript" src="analytics.js"></script>
<noscript><p><img src="//stats.opkode.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript> <noscript><p><img src="//stats.opkode.com/piwik.php?idsite=1" style="border:0;" alt="" /></p></noscript>
<![if gte IE 9]> <![if gte IE 9]>
<script src="https://cdn.conversejs.org/2.0.1/dist/converse-mobile.min.js"></script> <script src="https://cdn.conversejs.org/dist/converse-mobile.min.js"></script>
<![endif]> <![endif]>
</head> </head>
@ -123,15 +123,15 @@
</body> </body>
<script> <script>
require(['converse'], function (converse) { converse.initialize({
converse.initialize({ bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes
bosh_service_url: 'https://conversejs.org/http-bind/', // Please use this connection manager only for testing purposes message_carbons: true,
keepalive: true, // Whitelist non-core plugins that we need
message_carbons: true, whitelisted_plugins: ['converse-singleton'],
play_sounds: true, // Blacklist plugins which aren't being used for mobile, so that
roster_groups: true, // other code cannot register their own plugins under those names.
show_controlbox_by_default: false blacklisted_plugins: ['converse-minimize', 'converse-dragresize'],
}); show_controlbox_by_default: false,
}); });
</script> </script>
</html> </html>