mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-01-10 19:54:12 +01:00
Cleanup crufty apply code.
This commit is contained in:
@@ -204,7 +204,7 @@ var Buffer = Module("Buffer", {
|
||||
/**
|
||||
* @property {number} True when the buffer is fully loaded.
|
||||
*/
|
||||
get loaded() Math.min.apply(null,
|
||||
get loaded() apply(Math, "min",
|
||||
this.allFrames()
|
||||
.map(frame => ["loading", "interactive", "complete"]
|
||||
.indexOf(frame.document.readyState))),
|
||||
|
||||
Reference in New Issue
Block a user