1 |
- {"version":3,"sources":["webpack:///js/success.js","webpack:///./mobile/src/router/success.js"],"names":["webpackJsonp","13","module","exports","18","__webpack_require__","4","timer","$","on","range","document","createRange","selectNode","this","find","window","getSelection","removeAllRanges","addRange","execCommand","removeClass","clearTimeout","setTimeout","addClass","err","console","log"],"mappings":"AAAAA,cAAc,IAERC,GACA,SAAUC,EAAQC,KAMlBC,GACA,SAAUF,EAAQC,EAASE,GAEjCH,EAAOC,QAAUE,EAAoB,IAK/BC,EACA,SAAUJ,EAAQC,EAASE,GAEjC,YCpBAA,GAAA,GACAA,EAAA,GAEA,IAAIE,EACJC,GAAE,oBAAoBC,GAAG,WAAW,WAChC,GAAIC,GAAQC,SAASC,aACrBF,GAAMG,WAAWL,EAAEM,MAAMC,KAAK,QAAQ,IACtCC,OAAOC,eAAeC,kBACtBF,OAAOC,eAAeE,SAAST,EACdC,UAASS,YAAY,OACtC,KAEIZ,EAAE,YAAYa,YAAY,WAC1BC,aAAaf,GACbA,EAAQgB,WAAW,WACff,EAAE,YAAYgB,SAAS,YACzB,KACJ,MAAMC,GACJC,QAAQC,IAAI,wBAEhBX,OAAOC,eAAeC,uBD6BvB","file":"js/success.js?v=c4580c65","sourcesContent":["webpackJsonp([1],{\n\n/***/ 13:\n/***/ (function(module, exports) {\n\n// removed by extract-text-webpack-plugin\n\n/***/ }),\n\n/***/ 18:\n/***/ (function(module, exports, __webpack_require__) {\n\nmodule.exports = __webpack_require__(4);\n\n\n/***/ }),\n\n/***/ 4:\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\n__webpack_require__(0);\n\n__webpack_require__(13);\n\nvar timer;\n$('[node-id=\"copy\"]').on('touchend', function () {\n var range = document.createRange();\n range.selectNode($(this).find('span')[0]);\n window.getSelection().removeAllRanges();\n window.getSelection().addRange(range);\n var successful = document.execCommand('copy');\n try {\n var msg = successful ? 'successful' : 'unsuccessful';\n $('#success').removeClass('fn-hide');\n clearTimeout(timer);\n timer = setTimeout(function () {\n $('#success').addClass('fn-hide');\n }, 3000);\n } catch (err) {\n console.log('Oops, unable to copy');\n }\n window.getSelection().removeAllRanges();\n});\n\n/***/ })\n\n},[18]);\n\n\n// WEBPACK FOOTER //\n// js/success.js?v=c4580c65","import './global';\r\nimport '../css/success.css';\r\n\r\nvar timer;\r\n$('[node-id=\"copy\"]').on('touchend',function(){\r\n var range = document.createRange();\r\n range.selectNode($(this).find('span')[0]);\r\n window.getSelection().removeAllRanges();\r\n window.getSelection().addRange(range);\r\n var successful = document.execCommand('copy');\r\n try {\r\n var msg = successful ? 'successful' : 'unsuccessful';\r\n $('#success').removeClass('fn-hide');\r\n clearTimeout(timer);\r\n timer = setTimeout(function(){\r\n $('#success').addClass('fn-hide');\r\n },3000)\r\n } catch(err) {\r\n console.log('Oops, unable to copy');\r\n }\r\n window.getSelection().removeAllRanges();\r\n});\r\n\n\n\n// WEBPACK FOOTER //\n// ./mobile/src/router/success.js"],"sourceRoot":""}
|