-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix editfeatureselector example #3846
Conversation
buildtools/webpack.commons.js
Outdated
use: { | ||
loader: 'expose-loader', | ||
options: 'DateFormatter' | ||
} | ||
}; | ||
};*/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@sbrunner Do you prefer we remove these lines or we keep it what a additional informative comment ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
+1 to remove
buildtools/webpack.commons.js
Outdated
@@ -165,7 +165,7 @@ const config = { | |||
olcsRule, | |||
angularRule, | |||
typeaheadRule, | |||
dateFormatterRule, | |||
// dateFormatterRule, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same
buildtools/webpack.commons.js
Outdated
'proj4': 'proj4/lib', | ||
'jquery-datetimepicker$': 'jquery-datetimepicker/jquery.datetimepicker.js', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extra $
src/misc/php-date-formatter.js
Outdated
} | ||
}; | ||
|
||
export default DateFormatter; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing endline
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
f270e0d
to
d3364b9
Compare
d3364b9
to
5096431
Compare
Fix editfeatureselector example
Stéphane converted the php-date-formatter lib into a webpack custom supported version we can use find in the src/misc directory. Other changes are minor syntax errors in webpack configs and import of css.