Skip to content

Commit

Permalink
JS minifier can get confused, starting JS source files with ';' helps
Browse files Browse the repository at this point in the history
  • Loading branch information
scc committed Jul 8, 2008
1 parent d46f130 commit c849650
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion plugins/Ajax/htdocs/images/admin.js
@@ -1,4 +1,4 @@
// $Id$
; // $Id$

function um_ajax(the_behaviors, the_events) {
ajax_update({
Expand Down
2 changes: 1 addition & 1 deletion plugins/Ajax/htdocs/images/common.js
@@ -1,5 +1,5 @@
// _*_ Mode: JavaScript; tab-width: 8; indent-tabs-mode: true _*_
// $Id$
; // $Id$

var reskey_static = '';

Expand Down
2 changes: 1 addition & 1 deletion plugins/Ajax/htdocs/images/nodnix.js
@@ -1,5 +1,5 @@
// _*_ Mode: JavaScript; tab-width: 8; indent-tabs-mode: true _*_
// $Id$
; // $Id$

var nod_completer = null;
var nix_completer = null;
Expand Down
2 changes: 1 addition & 1 deletion plugins/Ajax/htdocs/images/sd_autocomplete.js
@@ -1,5 +1,5 @@
// _*_ Mode: JavaScript; tab-width: 8; indent-tabs-mode: true _*_
// $Id$
; // $Id$

YAHOO.namespace("slashdot");

Expand Down
2 changes: 1 addition & 1 deletion plugins/Ajax/htdocs/images/sd_calendar.js
@@ -1,5 +1,5 @@
// _*_ Mode: JavaScript; tab-width: 8; indent-tabs-mode: true _*_
// $Id$
; // $Id$

YAHOO.namespace("slashdot");

Expand Down
2 changes: 1 addition & 1 deletion plugins/Ajax/htdocs/images/sectionprefs.js
@@ -1,4 +1,4 @@
// $Id$
; // $Id$

function configSectionPopup() {
var title = "<a href=\"#\" onclick=\"window.location.reload()\" style=\"color:#fff;\">Sectional&nbsp;Display&nbsp;Prefs</a>&nbsp;";
Expand Down
2 changes: 1 addition & 1 deletion plugins/Ajax/htdocs/images/slashbox.js
@@ -1,4 +1,4 @@
YAHOO.namespace("slashdot");
; YAHOO.namespace("slashdot");

YAHOO.slashdot.SlashBox = function( id, sGroup, config ) {
if ( id ) {
Expand Down
2 changes: 1 addition & 1 deletion plugins/Ajax/htdocs/images/tagui.js
@@ -1,4 +1,4 @@
// tagui.js
; // tagui.js

function bare_tag( t ){
try {
Expand Down

0 comments on commit c849650

Please sign in to comment.