combine our standard scripts into one big script

This commit is contained in:
Evan Prodromou
2010-09-02 22:21:07 -04:00
parent 925381707b
commit 0c5ca46ba3
4 changed files with 266 additions and 266 deletions

View File

@@ -269,9 +269,7 @@ class Action extends HTMLOutputter // lawsuit
}
if (Event::handle('StartShowStatusNetScripts', array($this)) &&
Event::handle('StartShowLaconicaScripts', array($this))) {
$this->script('xbImportNode.js');
$this->script('util.js');
$this->script('geometa.js');
// Frame-busting code to avoid clickjacking attacks.
$this->inlineScript('if (window.top !== window.self) { window.top.location.href = window.self.location.href; }');
Event::handle('EndShowStatusNetScripts', array($this));