app/utils/dfg-mappings.js
File dfg-mappings.js
has 1929 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
const OECD_SCHEME = 'Fields of Science and Technology (FOS)';
const OECD_SCHEME_URI = 'http://www.oecd.org/science/inno/38235147.pdf';
const MAPPING = {
mappingListVersion: '1.0',
originalUrl:
Detected ES5 method syntax Open
Open
- Read upRead up
- Exclude checks
Newer versions of JavaScript provide a shorthand syntax for functions.
import Ember from 'ember';
export default Ember.Component.extend({
click() {
this.get('onclick')();
}
});
To fix this, run ember watson:methodify
.