\n ),\n threshold: 10240,\n minRatio: 0.8\n })\n )\n}\n\nif (config.build.bundleAnalyzerReport) {\n const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin\n webpackConfig.plugins.push(new BundleAnalyzerPlugin())\n}\n\nmodule.exports = webpackConfig\n","id":"a4949cac-df52-428c-aa62-105221fbbb0c","is_binary":false,"title":"webpack.prod.conf.js","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:17","upload_id":null,"shortid":"SJZgdtDk4DQ","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":"r1OFvy4PQ"},{"code":"'use strict'\nconst utils = require('.\u002Futils')\nconst webpack = require('webpack')\nconst config = require('..\u002Fconfig')\nconst merge = require('webpack-merge')\nconst path = require('path')\nconst baseWebpackConfig = require('.\u002Fwebpack.base.conf')\nconst CopyWebpackPlugin = require('copy-webpack-plugin')\nconst HtmlWebpackPlugin = require('html-webpack-plugin')\nconst FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')\nconst portfinder = require('portfinder')\n\nconst HOST = process.env.HOST\nconst PORT = process.env.PORT && Number(process.env.PORT)\n\nconst devWebpackConfig = merge(baseWebpackConfig, {\n module: {\n rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap, usePostCSS: true })\n },\n \u002F\u002F cheap-module-eval-source-map is faster for development\n devtool: config.dev.devtool,\n\n \u002F\u002F these devServer options should be customized in \u002Fconfig\u002Findex.js\n devServer: {\n clientLogLevel: 'warning',\n historyApiFallback: {\n rewrites: [\n { from: \u002F.*\u002F, to: path.posix.join(config.dev.assetsPublicPath, 'index.html') },\n ],\n },\n hot: true,\n contentBase: false, \u002F\u002F since we use CopyWebpackPlugin.\n compress: true,\n host: HOST || config.dev.host,\n port: PORT || config.dev.port,\n open: config.dev.autoOpenBrowser,\n overlay: config.dev.errorOverlay\n ? { warnings: false, errors: true }\n : false,\n publicPath: config.dev.assetsPublicPath,\n proxy: config.dev.proxyTable,\n quiet: true, \u002F\u002F necessary for FriendlyErrorsPlugin\n watchOptions: {\n poll: config.dev.poll,\n }\n },\n plugins: [\n new webpack.DefinePlugin({\n 'process.env': require('..\u002Fconfig\u002Fdev.env')\n }),\n new webpack.HotModuleReplacementPlugin(),\n new webpack.NamedModulesPlugin(), \u002F\u002F HMR shows correct file names in console on update.\n new webpack.NoEmitOnErrorsPlugin(),\n \u002F\u002F https:\u002F\u002Fgithub.com\u002Fampedandwired\u002Fhtml-webpack-plugin\n new HtmlWebpackPlugin({\n filename: 'index.html',\n template: 'index.html',\n inject: true\n }),\n \u002F\u002F copy custom static assets\n new CopyWebpackPlugin([\n {\n from: path.resolve(__dirname, '..\u002Fstatic'),\n to: config.dev.assetsSubDirectory,\n ignore: ['.*']\n }\n ])\n ]\n})\n\nmodule.exports = new Promise((resolve, reject) =\u003E {\n portfinder.basePort = process.env.PORT || config.dev.port\n portfinder.getPort((err, port) =\u003E {\n if (err) {\n reject(err)\n } else {\n \u002F\u002F publish the new Port, necessary for e2e tests\n process.env.PORT = port\n \u002F\u002F add port to devServer config\n devWebpackConfig.devServer.port = port\n\n \u002F\u002F Add FriendlyErrorsPlugin\n devWebpackConfig.plugins.push(new FriendlyErrorsPlugin({\n compilationSuccessInfo: {\n messages: [`Your application is running here: http:\u002F\u002F${devWebpackConfig.devServer.host}:${port}`],\n },\n onErrors: config.dev.notifyOnErrors\n ? utils.createNotifierCallback()\n : undefined\n }))\n\n resolve(devWebpackConfig)\n }\n })\n})\n","id":"6320a4c3-f410-43ae-936e-38b5306df67a","is_binary":false,"title":"webpack.dev.conf.js","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:17","upload_id":null,"shortid":"SklldtPy4wX","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":"r1OFvy4PQ"},{"code":"'use strict'\nconst path = require('path')\nconst utils = require('.\u002Futils')\nconst config = require('..\u002Fconfig')\nconst vueLoaderConfig = require('.\u002Fvue-loader.conf')\n\nfunction resolve (dir) {\n return path.join(__dirname, '..', dir)\n}\n\nconst createLintingRule = () =\u003E ({\n test: \u002F\\.(js|vue)$\u002F,\n loader: 'eslint-loader',\n enforce: 'pre',\n include: [resolve('src'), resolve('test')],\n options: {\n formatter: require('eslint-friendly-formatter'),\n emitWarning: !config.dev.showEslintErrorsInOverlay\n }\n})\n\nmodule.exports = {\n context: path.resolve(__dirname, '..\u002F'),\n entry: {\n app: '.\u002Fsrc\u002Fmain.js'\n },\n output: {\n path: config.build.assetsRoot,\n filename: '[name].js',\n publicPath: process.env.NODE_ENV === 'production'\n ? config.build.assetsPublicPath\n : config.dev.assetsPublicPath\n },\n resolve: {\n extensions: ['.js', '.vue', '.json'],\n alias: {\n 'vue
: 'vue\u002Fdist\u002Fvue.esm.js',\n '@': resolve('src'),\n }\n },\n module: {\n rules: [\n ...(config.dev.useEslint ? [createLintingRule()] : []),\n {\n test: \u002F\\.vue$\u002F,\n loader: 'vue-loader',\n options: vueLoaderConfig\n },\n {\n test: \u002F\\.js$\u002F,\n loader: 'babel-loader',\n include: [resolve('src'), resolve('test'), resolve('node_modules\u002Fwebpack-dev-server\u002Fclient')]\n },\n {\n test: \u002F\\.(png|jpe?g|gif|svg)(\\?.*)?$\u002F,\n loader: 'url-loader',\n options: {\n limit: 10000,\n name: utils.assetsPath('img\u002F[name].[hash:7].[ext]')\n }\n },\n {\n test: \u002F\\.(mp4|webm|ogg|mp3|wav|flac|aac)(\\?.*)?$\u002F,\n loader: 'url-loader',\n options: {\n limit: 10000,\n name: utils.assetsPath('media\u002F[name].[hash:7].[ext]')\n }\n },\n {\n test: \u002F\\.(woff2?|eot|ttf|otf)(\\?.*)?$\u002F,\n loader: 'url-loader',\n options: {\n limit: 10000,\n name: utils.assetsPath('fonts\u002F[name].[hash:7].[ext]')\n }\n }\n ]\n },\n node: {\n \u002F\u002F prevent webpack from injecting useless setImmediate polyfill because Vue\n \u002F\u002F source contains it (although only uses it if it's native).\n setImmediate: false,\n \u002F\u002F prevent webpack from injecting mocks to Node native modules\n \u002F\u002F that does not make sense for the client\n dgram: 'empty',\n fs: 'empty',\n net: 'empty',\n tls: 'empty',\n child_process: 'empty'\n }\n}\n","id":"bc686533-ee4a-43ec-ad8d-335575a71865","is_binary":false,"title":"webpack.base.conf.js","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:17","upload_id":null,"shortid":"Sk1edYv1VD7","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":"r1OFvy4PQ"},{"code":"'use strict'\nconst utils = require('.\u002Futils')\nconst config = require('..\u002Fconfig')\nconst isProduction = process.env.NODE_ENV === 'production'\nconst sourceMapEnabled = isProduction\n ? config.build.productionSourceMap\n : config.dev.cssSourceMap\n\nmodule.exports = {\n loaders: utils.cssLoaders({\n sourceMap: sourceMapEnabled,\n extract: isProduction\n }),\n cssSourceMap: sourceMapEnabled,\n cacheBusting: config.dev.cacheBusting,\n transformToRequire: {\n video: ['src', 'poster'],\n source: 'src',\n img: 'src',\n image: 'xlink:href'\n }\n}\n","id":"bc56194c-c220-47a2-8914-095b87a37611","is_binary":false,"title":"vue-loader.conf.js","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:17","upload_id":null,"shortid":"BkCdtvkVD7","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":"r1OFvy4PQ"},{"code":"'use strict'\nconst path = require('path')\nconst config = require('..\u002Fconfig')\nconst ExtractTextPlugin = require('extract-text-webpack-plugin')\nconst packageConfig = require('..\u002Fpackage.json')\n\nexports.assetsPath = function (_path) {\n const assetsSubDirectory = process.env.NODE_ENV === 'production'\n ? config.build.assetsSubDirectory\n : config.dev.assetsSubDirectory\n\n return path.posix.join(assetsSubDirectory, _path)\n}\n\nexports.cssLoaders = function (options) {\n options = options || {}\n\n const cssLoader = {\n loader: 'css-loader',\n options: {\n sourceMap: options.sourceMap\n }\n }\n\n const postcssLoader = {\n loader: 'postcss-loader',\n options: {\n sourceMap: options.sourceMap\n }\n }\n\n \u002F\u002F generate loader string to be used with extract text plugin\n function generateLoaders (loader, loaderOptions) {\n const loaders = options.usePostCSS ? [cssLoader, postcssLoader] : [cssLoader]\n\n if (loader) {\n loaders.push({\n loader: loader + '-loader',\n options: Object.assign({}, loaderOptions, {\n sourceMap: options.sourceMap\n })\n })\n }\n\n \u002F\u002F Extract CSS when that option is specified\n \u002F\u002F (which is the case during production build)\n if (options.extract) {\n return ExtractTextPlugin.extract({\n use: loaders,\n fallback: 'vue-style-loader'\n })\n } else {\n return ['vue-style-loader'].concat(loaders)\n }\n }\n\n \u002F\u002F https:\u002F\u002Fvue-loader.vuejs.org\u002Fen\u002Fconfigurations\u002Fextract-css.html\n return {\n css: generateLoaders(),\n postcss: generateLoaders(),\n less: generateLoaders('less'),\n sass: generateLoaders('sass', { indentedSyntax: true }),\n scss: generateLoaders('sass'),\n stylus: generateLoaders('stylus'),\n styl: generateLoaders('stylus')\n }\n}\n\n\u002F\u002F Generate loaders for standalone style files (outside of .vue)\nexports.styleLoaders = function (options) {\n const output = []\n const loaders = exports.cssLoaders(options)\n\n for (const extension in loaders) {\n const loader = loaders[extension]\n output.push({\n test: new RegExp('\\\\.' + extension + '
),\n use: loader\n })\n }\n\n return output\n}\n\nexports.createNotifierCallback = () =\u003E {\n const notifier = require('node-notifier')\n\n return (severity, errors) =\u003E {\n if (severity !== 'error') return\n\n const error = errors[0]\n const filename = error.file && error.file.split('!').pop()\n\n notifier.notify({\n title: packageConfig.name,\n message: severity + ': ' + error.name,\n subtitle: filename || '',\n icon: path.join(__dirname, 'logo.png')\n })\n }\n}\n","id":"4bb01d57-2dcc-497f-aa11-59413dd6551d","is_binary":false,"title":"utils.js","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:17","upload_id":null,"shortid":"r1aOYPy4DQ","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":"r1OFvy4PQ"},{"code":"https:\u002F\u002Frawgit.com\u002Fijse\u002Ftiger-bridge-playground\u002F95059eb93587cdc4635410b32d288b7ded34b3af\u002Fbuild\u002Flogo.png","id":"7be78f92-158f-48b0-8e76-fe659cffc278","is_binary":true,"title":"logo.png","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:17","upload_id":null,"shortid":"rynOKvJEvm","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":"r1OFvy4PQ"},{"code":"'use strict'\nconst chalk = require('chalk')\nconst semver = require('semver')\nconst packageConfig = require('..\u002Fpackage.json')\nconst shell = require('shelljs')\n\nfunction exec (cmd) {\n return require('child_process').execSync(cmd).toString().trim()\n}\n\nconst versionRequirements = [\n {\n name: 'node',\n currentVersion: semver.clean(process.version),\n versionRequirement: packageConfig.engines.node\n }\n]\n\nif (shell.which('npm')) {\n versionRequirements.push({\n name: 'npm',\n currentVersion: exec('npm --version'),\n versionRequirement: packageConfig.engines.npm\n })\n}\n\nmodule.exports = function () {\n const warnings = []\n\n for (let i = 0; i \u003C versionRequirements.length; i++) {\n const mod = versionRequirements[i]\n\n if (!semver.satisfies(mod.currentVersion, mod.versionRequirement)) {\n warnings.push(mod.name + ': ' +\n chalk.red(mod.currentVersion) + ' should be ' +\n chalk.green(mod.versionRequirement)\n )\n }\n }\n\n if (warnings.length) {\n console.log('')\n console.log(chalk.yellow('To use this template, you must update following to modules:'))\n console.log()\n\n for (let i = 0; i \u003C warnings.length; i++) {\n const warning = warnings[i]\n console.log(' ' + warning)\n }\n\n console.log()\n process.exit(1)\n }\n}\n","id":"a41a9af3-a96d-4a18-8e23-e20a5f94e513","is_binary":false,"title":"check-versions.js","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:17","upload_id":null,"shortid":"ByiOKPJNwX","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":"r1OFvy4PQ"},{"code":"'use strict'\nrequire('.\u002Fcheck-versions')()\n\nprocess.env.NODE_ENV = 'production'\n\nconst ora = require('ora')\nconst rm = require('rimraf')\nconst path = require('path')\nconst chalk = require('chalk')\nconst webpack = require('webpack')\nconst config = require('..\u002Fconfig')\nconst webpackConfig = require('.\u002Fwebpack.prod.conf')\n\nconst spinner = ora('building for production...')\nspinner.start()\n\nrm(path.join(config.build.assetsRoot, config.build.assetsSubDirectory), err =\u003E {\n if (err) throw err\n webpack(webpackConfig, (err, stats) =\u003E {\n spinner.stop()\n if (err) throw err\n process.stdout.write(stats.toString({\n colors: true,\n modules: false,\n children: false, \u002F\u002F If you are using ts-loader, setting this to true will make TypeScript errors show up during build.\n chunks: false,\n chunkModules: false\n }) + '\\n\\n')\n\n if (stats.hasErrors()) {\n console.log(chalk.red(' Build failed with errors.\\n'))\n process.exit(1)\n }\n\n console.log(chalk.cyan(' Build complete.\\n'))\n console.log(chalk.yellow(\n ' Tip: built files are meant to be served over an HTTP server.\\n' +\n ' Opening index.html over file:\u002F\u002F won\\'t work.\\n'\n ))\n })\n})\n","id":"7ca69120-9940-431c-b1fb-f06d4fcc2999","is_binary":false,"title":"build.js","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:17","upload_id":null,"shortid":"Bk9_FPy4w7","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":"r1OFvy4PQ"},{"code":"{\n \"name\": \"tigerbridgeplayground\",\n \"version\": \"1.0.0\",\n \"description\": \"Playground for testing TigerBridge SDK\",\n \"main\": \"src\u002Fmain.js\",\n \"private\": true,\n \"scripts\": {\n \"dev\": \"webpack-dev-server --inline --progress --config build\u002Fwebpack.dev.conf.js\",\n \"start\": \"npm run dev\",\n \"unit\": \"jest --config test\u002Funit\u002Fjest.conf.js --coverage\",\n \"test\": \"npm run unit\",\n \"lint\": \"eslint --ext .js,.vue src test\u002Funit\",\n \"build\": \"node build\u002Fbuild.js\"\n },\n \"dependencies\": {\n \"vue\": \"^2.5.2\"\n },\n \"devDependencies\": {\n \"autoprefixer\": \"^7.1.2\",\n \"babel-core\": \"^6.22.1\",\n \"babel-eslint\": \"^8.2.1\",\n \"babel-helper-vue-jsx-merge-props\": \"^2.0.3\",\n \"babel-jest\": \"^21.0.2\",\n \"babel-loader\": \"^7.1.1\",\n \"babel-plugin-dynamic-import-node\": \"^1.2.0\",\n \"babel-plugin-syntax-jsx\": \"^6.18.0\",\n \"babel-plugin-transform-es2015-modules-commonjs\": \"^6.26.0\",\n \"babel-plugin-transform-runtime\": \"^6.22.0\",\n \"babel-plugin-transform-vue-jsx\": \"^3.5.0\",\n \"babel-preset-env\": \"^1.3.2\",\n \"babel-preset-stage-2\": \"^6.22.0\",\n \"chalk\": \"^2.0.1\",\n \"copy-webpack-plugin\": \"^4.0.1\",\n \"css-loader\": \"^0.28.0\",\n \"eslint\": \"^4.15.0\",\n \"eslint-config-airbnb-base\": \"^11.3.0\",\n \"eslint-friendly-formatter\": \"^3.0.0\",\n \"eslint-import-resolver-webpack\": \"^0.8.3\",\n \"eslint-loader\": \"^1.7.1\",\n \"eslint-plugin-import\": \"^2.7.0\",\n \"eslint-plugin-vue\": \"^4.0.0\",\n \"extract-text-webpack-plugin\": \"^3.0.0\",\n \"file-loader\": \"^1.1.4\",\n \"friendly-errors-webpack-plugin\": \"^1.6.1\",\n \"html-webpack-plugin\": \"^2.30.1\",\n \"jest\": \"^22.0.4\",\n \"jest-serializer-vue\": \"^0.3.0\",\n \"node-notifier\": \"^5.1.2\",\n \"optimize-css-assets-webpack-plugin\": \"^3.2.0\",\n \"ora\": \"^1.2.0\",\n \"portfinder\": \"^1.0.13\",\n \"postcss-import\": \"^11.0.0\",\n \"postcss-loader\": \"^2.0.8\",\n \"postcss-url\": \"^7.2.1\",\n \"rimraf\": \"^2.6.0\",\n \"semver\": \"^5.3.0\",\n \"shelljs\": \"^0.7.6\",\n \"uglifyjs-webpack-plugin\": \"^1.1.1\",\n \"url-loader\": \"^0.5.8\",\n \"vue-jest\": \"^1.0.2\",\n \"vue-loader\": \"^13.3.0\",\n \"vue-style-loader\": \"^3.0.1\",\n \"vue-template-compiler\": \"^2.5.2\",\n \"webpack\": \"^3.6.0\",\n \"webpack-bundle-analyzer\": \"^2.9.0\",\n \"webpack-dev-server\": \"^2.9.1\",\n \"webpack-merge\": \"^4.1.0\"\n },\n \"engines\": {\n \"node\": \"\u003E= 9.0.0\",\n \"npm\": \"\u003E= 4.0.0\"\n },\n \"browserslist\": [\n \"\u003E 1%\",\n \"last 2 versions\",\n \"not ie \u003C= 8\"\n ],\n \"keywords\": []\n}","id":"49b8461e-b985-4fb7-a584-20a376af8f46","is_binary":false,"title":"package.json","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:17","upload_id":null,"shortid":"BkweOKP1VvX","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":null},{"code":"\u002F\u002F https:\u002F\u002Fgithub.com\u002Fmichael-ciniawsky\u002Fpostcss-load-config\n\nmodule.exports = {\n \"plugins\": {\n \"postcss-import\": {},\n \"postcss-url\": {},\n \u002F\u002F to edit target browsers: use \"browserslist\" field in package.json\n \"autoprefixer\": {}\n }\n}\n","id":"a9e8a906-386f-44da-a3d8-95d1dfeae0a5","is_binary":false,"title":".postcssrc.js","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:17","upload_id":null,"shortid":"ryO_YwJ4v7","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":null},{"code":".DS_Store\nnode_modules\u002F\n\u002Fdist\u002F\nnpm-debug.log*\nyarn-debug.log*\nyarn-error.log*\n\u002Ftest\u002Funit\u002Fcoverage\u002F\n\n# Editor directories and files\n.idea\n.vscode\n*.suo\n*.ntvs*\n*.njsproj\n*.sln\n","id":"ac6d9270-ba9e-41a8-b710-a5608e4181ca","is_binary":false,"title":".gitignore","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:17","upload_id":null,"shortid":"HJDdFvJVwX","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":null},{"code":"\u002F\u002F https:\u002F\u002Feslint.org\u002Fdocs\u002Fuser-guide\u002Fconfiguring\n\nmodule.exports = {\n root: true,\n parserOptions: {\n parser: 'babel-eslint'\n },\n env: {\n browser: true,\n },\n \u002F\u002F https:\u002F\u002Fgithub.com\u002Fvuejs\u002Feslint-plugin-vue#priority-a-essential-error-prevention\n \u002F\u002F consider switching to `plugin:vue\u002Fstrongly-recommended` or `plugin:vue\u002Frecommended` for stricter rules.\n extends: ['plugin:vue\u002Fessential', 'airbnb-base'],\n \u002F\u002F required to lint *.vue files\n plugins: [\n 'vue'\n ],\n \u002F\u002F check if imports actually resolve\n settings: {\n 'import\u002Fresolver': {\n webpack: {\n config: 'build\u002Fwebpack.base.conf.js'\n }\n }\n },\n \u002F\u002F add your custom rules here\n rules: {\n \u002F\u002F don't require .vue extension when importing\n 'import\u002Fextensions': ['error', 'always', {\n js: 'never',\n vue: 'never'\n }],\n \u002F\u002F disallow reassignment of function parameters\n \u002F\u002F disallow parameter object manipulation except for specific exclusions\n 'no-param-reassign': ['error', {\n props: true,\n ignorePropertyModificationsFor: [\n 'state', \u002F\u002F for vuex state\n 'acc', \u002F\u002F for reduce accumulators\n 'e' \u002F\u002F for e.returnvalue\n ]\n }],\n \u002F\u002F allow optionalDependencies\n 'import\u002Fno-extraneous-dependencies': ['error', {\n optionalDependencies: ['test\u002Funit\u002Findex.js']\n }],\n \u002F\u002F allow debugger during development\n 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'\n }\n}\n","id":"e0f6ef97-782c-49db-a25c-a0f293bf81d1","is_binary":false,"title":".eslintrc.js","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:17","upload_id":null,"shortid":"BJ8dYvJVPX","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":null},{"code":"\u002Fbuild\u002F\n\u002Fconfig\u002F\n\u002Fdist\u002F\n\u002F*.js\n\u002Ftest\u002Funit\u002Fcoverage\u002F\n","id":"3d4fc420-ead9-46b1-9de2-1d86d44986a2","is_binary":false,"title":".eslintignore","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:17","upload_id":null,"shortid":"BkSOFwyNwm","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":null},{"code":"root = true\n\n[*]\ncharset = utf-8\nindent_style = space\nindent_size = 2\nend_of_line = lf\ninsert_final_newline = true\ntrim_trailing_whitespace = true\n","id":"6c355d7f-0070-4f27-bd97-7dbdc7969381","is_binary":false,"title":".editorconfig","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:17","upload_id":null,"shortid":"HkN_YPJVDQ","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":null},{"code":"# TigerBridge Playground\n\n","id":"e3a3a29c-610b-4ca4-93df-dc92c15001e2","is_binary":false,"title":"README.md","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-08-29T09:30:18","upload_id":null,"shortid":"HkKOYwkEv7","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":null},{"code":"\u003Ctemplate\u003E\n \u003Cdiv id=\"app\"\u003E\n \u003Ch1\u003E Welcome to TigerBridge Live! \u003C\u002Fh1\u003E\n \u003Cp\u003E Current: {{ version }} \u003C\u002Fp\u003E\n \u003Cp\u003E\n \u003Clabel for=\"isDebug\"\u003E\n \u003Cinput id=\"isDebug\" type=\"checkbox\" v-model=\"isDebug\" \u002F\u003E Debug Mode (echo api call params)\n \u003C\u002Flabel\u003E\n \u003C\u002Fp\u003E\n \u003CBridgeAPI @on-result=\"result =\u003E this.result = result\"\u002F\u003E\n \u003Cp\u003E\n \u003Cpre\u003E\n {{ error }}\n \u003C\u002Fpre\u003E\n \u003C\u002Fp\u003E\n \u003Cdata\u003E{{ result }}\u003C\u002Fdata\u003E\n \u003C\u002Fdiv\u003E\n\u003C\u002Ftemplate\u003E\n\n\u003Cscript\u003E\nimport BridgeAPI from \".\u002Fcomponents\u002FBridgeAPI\";\nexport default {\n name: \"App\",\n components: {\n BridgeAPI\n },\n data: () =\u003E ({\n isDebug: false,\n error: null,\n result: null,\n version: TigerBridge.version\n }),\n watch: {\n isDebug: {\n handler(debug) {\n TigerBridge.setDebug(debug);\n },\n immediate: true\n }\n },\n errorCaptured(err, vm, message) {\n console.log(err);\n this.error = err;\n window.onerror = function(e) {\n this.error = e;\n };\n }\n};\n\u003C\u002Fscript\u003E\n\n\u003Cstyle\u003E\n#app {\n font-family: \"Avenir\", Helvetica, Arial, sans-serif;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n text-align: center;\n color: #2c3e50;\n margin-top: 60px;\n background-color: #fff;\n padding-bottom: 200px;\n}\n\u003C\u002Fstyle\u003E\n","id":"48f4e3fc-8230-4309-a021-aa60a60ab797","is_binary":false,"title":"App.vue","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-09-13T06:20:33","upload_id":null,"shortid":"rkdldFv1NvQ","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":"S1ZutDJEwX"},{"code":"\u003C!DOCTYPE html\u003E\n\u003Chtml\u003E\n\n\u003Chead\u003E\n\t\u003Cmeta charset=\"utf-8\"\u003E\n\t\u003Cmeta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\"\u003E\n\t\u003Ctitle\u003ETigerBridge Playground\u003C\u002Ftitle\u003E\n \u003Cscript src=\"https:\u002F\u002Fres.wx.qq.com\u002Fmmbizwap\u002Fzh_CN\u002Fhtmledition\u002Fjs\u002Fvconsole\u002F3.0.0\u002Fvconsole.min.js\"\u003E\u003C\u002Fscript\u003E\n\t\u003Cscript src=\"https:\u002F\u002Fstatic.itiger.com\u002Fdesktop\u002Fcdn\u002Ftiger-bridge\u002Ftiger-bridge.min.js\"\u003E\u003C\u002Fscript\u003E\n\u003C\u002Fhead\u003E\n\n\u003Cbody\u003E\n\t\u003Cdiv id=\"app\"\u003E\u003C\u002Fdiv\u003E\n\t\u003C!-- built files will be auto injected --\u003E\n\u003C\u002Fbody\u003E\n\n \u003Cscript\u003E\n window.vConsole = new VConsole()\n \u003C\u002Fscript\u003E\n\u003C\u002Fhtml\u003E","id":"581fb81c-a985-407a-a242-365f0666fa93","is_binary":false,"title":"index.html","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-09-11T06:01:09","upload_id":null,"shortid":"SkUldKv1EDX","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":null},{"code":"localStorage.debug = \"tiger-bridge:*\";\n\nexport const callApi = function(cb) {\n \u002F\u002F TigerBridge.register(\"ui\u002FopenLoginBox\", null, cb, true).catch(cb);\n TigerBridge.register(\"user\u002Finfo\", null, cb, true);\n};\n","id":"92900049-d6fe-436c-9469-dab917615d85","is_binary":false,"title":"handler.js","sha":null,"inserted_at":"2018-08-29T09:30:17","updated_at":"2018-09-18T09:51:40","upload_id":null,"shortid":"Sy9xdYvyVD7","source_id":"f0b9f230-428d-48c9-8713-08617cd64b85","directory_shortid":"ByzuKPyEP7"}],"free_plan_editing_restricted":false,"is_sse":false,"room_id":null,"pr_number":null,"is_frozen":false,"tags":[],"v2":false,"external_resources":[],"preview_secret":null,"inserted_at":"2018-08-29T09:30:17","owned":false,"settings":{"ai_consent":null},"updated_at":"2018-09-18T09:51:40","forked_template_sandbox":null,"like_count":0,"git":null,"feature_flags":{"comments":false,"container_lsp":false},"custom_template":null,"collection":false,"picks":[],"forked_template":null,"user_liked":false,"restricted":true,"template":"vue-cli","description":"Playground for testing TigerBridge SDK"};