2015-08-23 06:28:48 +02:00
|
|
|
|
|
|
|
//=require ../../../node_modules/webcomponents.js/CustomElements.js
|
2015-11-19 15:27:23 +01:00
|
|
|
//=require ../../../node_modules/svg4everybody/dist/svg4everybody.js
|
2015-08-23 06:28:48 +02:00
|
|
|
//=require ../../../node_modules/jquery/dist/jquery.js
|
|
|
|
//=require ../../../bower_components/time-elements/time-elements.js
|
2016-04-17 20:01:42 +02:00
|
|
|
//=require ../../../node_modules/vex-js/js/vex.combined.min.js
|
2015-08-23 06:28:48 +02:00
|
|
|
|
2015-11-19 14:55:49 +01:00
|
|
|
//
|
|
|
|
// include modules
|
|
|
|
//
|
|
|
|
//=include _menu.js
|
|
|
|
//=include _search.js
|
2015-12-02 00:19:46 +01:00
|
|
|
//=include _tooltips.js
|
2015-12-02 00:35:43 +01:00
|
|
|
//=include _analytics.js
|
2015-08-23 06:28:48 +02:00
|
|
|
|
2015-11-19 16:52:44 +01:00
|
|
|
(function($) {
|
2013-11-23 21:53:52 +01:00
|
|
|
|
2015-11-19 14:55:49 +01:00
|
|
|
//
|
|
|
|
// init modules
|
|
|
|
//
|
|
|
|
Menu.init();
|
|
|
|
Search.init();
|
2015-12-02 00:19:46 +01:00
|
|
|
Tooltips.init();
|
2015-12-02 00:35:43 +01:00
|
|
|
GoogleAnalytics.init();
|
2014-07-03 18:53:39 +02:00
|
|
|
|
2015-11-19 15:27:23 +01:00
|
|
|
svg4everybody({
|
|
|
|
nosvg: false
|
|
|
|
});
|
|
|
|
|
2016-04-17 20:01:42 +02:00
|
|
|
$('.js-vex-btc').click(function(e) {
|
|
|
|
e.preventDefault();
|
|
|
|
|
|
|
|
vex.defaultOptions.className = 'vex-theme-kremalicious vex-bitcoin';
|
|
|
|
vex.dialog.buttons.YES.text = 'Close';
|
|
|
|
vex.open({
|
|
|
|
content: '<h3 class=\"vex__title\">My Bitcoin Address</h3>\n <img src=\"/assets/img/btc-qr.png\" />\n <pre class=\"highlight\"><code class=\"nt\">171qDmKEXm9YBgBLXyGjjPvopP5o9htQ1V</code></pre>'
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
2015-11-19 16:52:44 +01:00
|
|
|
}(jQuery));
|