-
-
Notifications
You must be signed in to change notification settings - Fork 673
Closed
Description
JSLint on "The Good Parts" setting, applied to sagenb/data/sage/js/*.js
but not notebook_lib.js
. The latter will have its own ticket.
For now, I've disabled strict mode, since most (all?) current browsers don't yet have it.
Given the present architecture of the notebook JS library --- use lots of global variables, etc. --- I haven't implemented all of JSLint's suggestions. More generally:
"If you're writing javascript code, [JSLint](http://www.jslint.com/) is a really fine piece of software, too. You don't have to follow its recommendations blindly, but understanding what it says about your code can greatly improve your skills." -- http://jsbeautifier.org/
CC: @TimDumol
Component: notebook
Author: Mitesh Patel
Reviewer: Tim Dumol
Merged: sagenb-0.6
Issue created by migration from https://trac.sagemath.org/ticket/7863