Skip to content

Commit

Permalink
Merge pull request #5027 from camptocamp/ie
Browse files Browse the repository at this point in the history
Fix object editing interface on ie
  • Loading branch information
sbrunner authored Jul 18, 2019
2 parents be7a65f + f930fc0 commit 2d42608
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
14 changes: 14 additions & 0 deletions buildtools/webpack.commons.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,19 @@ const config = function(hardSourceConfig, babelLoaderCacheDirectory) {
}
};

const jstsRule = {
test: /jsts\/.*\.js$/,
use: {
loader: 'babel-loader',
options: {
babelrc: false,
comments: false,
cacheDirectory: babelLoaderCacheDirectory,
presets: babelPresets,
}
}
};

return {
context: path.resolve(__dirname, '../'),
devtool: 'source-map',
Expand All @@ -168,6 +181,7 @@ const config = function(hardSourceConfig, babelLoaderCacheDirectory) {
rules: [
olRule,
olcsRule,
jstsRule,
angularRule,
typeaheadRule,
cssRule,
Expand Down
3 changes: 1 addition & 2 deletions contribs/gmf/src/objectediting/toolsComponent.js
Original file line number Diff line number Diff line change
Expand Up @@ -362,8 +362,7 @@ exports.Controller_.prototype.handleToolActiveChange_ = function(
exports.Controller_.prototype.handleDestroy_ = function() {};


exports.controller('GmfObjecteditingtoolsController',
exports.Controller_);
exports.controller('GmfObjecteditingtoolsController', exports.Controller_);


/**
Expand Down

0 comments on commit 2d42608

Please sign in to comment.