Closed (fixed)
Project:
Module Builder
Version:
8.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
19 Apr 2016 at 18:19 UTC
Updated:
8 May 2016 at 21:44 UTC
Jump to comment: Most recent
Regarding javascript I want to turn on strict. In the past it has saved my bacon on multiple occasions.
I ran the javascript through the lint checker and fixed things up.
the lint checker has a gate to prevent console.log() commands from appearing in the final code.
but hey this is a developer friendly module so I am going to leave that in.
| Comment | File | Size | Author |
|---|---|---|---|
| jslint-0.patch | 2.64 KB | martin107 |
Comments
Comment #4
joachim commentedThanks!
Committed to both active branches.
(I don't think the JS is currently in use by the D8 version of the module, but I've committed it anyway as it's functionality that I'll be adding back at some point, so it might as well receive this improvement in the meantime.)