Merge branch 'master' into skylight
This commit is contained in:
commit
791c0edfe8
|
@ -47,7 +47,7 @@ const UI = React.createClass({
|
||||||
this.dragTargets.push(e.target);
|
this.dragTargets.push(e.target);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (e.dataTransfer && e.dataTransfer.files.length > 0) {
|
if (e.dataTransfer && e.dataTransfer.items.length > 0) {
|
||||||
this.setState({ draggingOver: true });
|
this.setState({ draggingOver: true });
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
|
@ -62,7 +62,9 @@ module Mastodon
|
||||||
config.middleware.use Rack::Attack
|
config.middleware.use Rack::Attack
|
||||||
config.middleware.use Rack::Deflater
|
config.middleware.use Rack::Deflater
|
||||||
|
|
||||||
|
config.browserify_rails.source_map_environments << 'development'
|
||||||
config.browserify_rails.commandline_options = '--transform [ babelify --presets [ es2015 react ] ] --extension=".jsx"'
|
config.browserify_rails.commandline_options = '--transform [ babelify --presets [ es2015 react ] ] --extension=".jsx"'
|
||||||
|
config.browserify_rails.evaluate_node_modules = true
|
||||||
|
|
||||||
config.to_prepare do
|
config.to_prepare do
|
||||||
Doorkeeper::AuthorizationsController.layout 'public'
|
Doorkeeper::AuthorizationsController.layout 'public'
|
||||||
|
|
Reference in a new issue