Bug 1325464 - Enable object-shorthand rule and run 'mach eslint --fix' with the rule enabled. r=MattN

MozReview-Commit-ID: 7E7LPorrEje
This commit is contained in:
Jared Wein
2016-12-29 18:34:54 -05:00
parent 2de0319338
commit e3149c378f
824 changed files with 7775 additions and 7789 deletions

View File

@@ -43,7 +43,7 @@ var Agent = {
*
* @return {object} Article object returned from Readability.
*/
parseDocument: function(uri, serializedDoc) {
parseDocument(uri, serializedDoc) {
let doc = new JSDOMParser().parse(serializedDoc);
return new Readability(uri, doc).parse();
},