mirror of
https://github.com/seigler/dash-docs
synced 2025-07-27 01:36:13 +00:00
Enable use of "use strict" and fix two global variable declarations
This commit is contained in:
parent
3ac6158d37
commit
1bd4720304
5 changed files with 13 additions and 1 deletions
|
@ -4,6 +4,8 @@
|
|||
// This file is used for javascript code
|
||||
// necessary for some pages to work properly.
|
||||
|
||||
"use strict"
|
||||
|
||||
function getWidth(a) {
|
||||
// Return the integer value of the computed width of a DOM node.
|
||||
// Ex. getWidth(node);
|
||||
|
@ -189,6 +191,7 @@ function updateToc() {
|
|||
var pageoffset;
|
||||
var windowy;
|
||||
var toc;
|
||||
var fallback;
|
||||
var first;
|
||||
var last;
|
||||
var closer;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue