Merge branch 'develop' into paring.down
This commit is contained in:
commit
c308e276e8
2 changed files with 6 additions and 0 deletions
|
@ -29,6 +29,7 @@ Metamaps.Import = {
|
||||||
|
|
||||||
$('body').bind('paste', function (e) {
|
$('body').bind('paste', function (e) {
|
||||||
if (e.target.tagName === 'INPUT') return
|
if (e.target.tagName === 'INPUT') return
|
||||||
|
if (e.target.tagName === 'TEXTAREA') return
|
||||||
|
|
||||||
var text = e.originalEvent.clipboardData.getData('text/plain')
|
var text = e.originalEvent.clipboardData.getData('text/plain')
|
||||||
|
|
||||||
|
|
|
@ -3,6 +3,11 @@ const webpack = 'webpack'
|
||||||
|
|
||||||
const config = module.exports = {
|
const config = module.exports = {
|
||||||
context: __dirname,
|
context: __dirname,
|
||||||
|
plugins: [
|
||||||
|
new webpack.DefinePlugin({
|
||||||
|
"process.env.NODE_ENV": `"${process.env.NODE_ENV || 'development'}"`
|
||||||
|
})
|
||||||
|
],
|
||||||
module: {
|
module: {
|
||||||
loaders: [
|
loaders: [
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue