Remove util.min.js (minifying is EVIL)
This commit is contained in:
parent
28081e9115
commit
398491b39b
|
@ -1,16 +1,12 @@
|
|||
.fake: all clean
|
||||
|
||||
TARGETS=util.min.js extlib/json2.min.js extlib/jquery.cookie.min.js
|
||||
UTIL_SOURCES=util.js xbImportNode.js geometa.js
|
||||
|
||||
all: $(TARGETS)
|
||||
|
||||
clean:
|
||||
rm -f $(TARGETS)
|
||||
|
||||
util.min.js: $(UTIL_SOURCES)
|
||||
cat $+ | yui-compressor --type js > $@
|
||||
|
||||
extlib/json2.min.js: extlib/json2.js
|
||||
yui-compressor $+ > $@
|
||||
|
||||
|
|
1
js/util.min.js
vendored
1
js/util.min.js
vendored
File diff suppressed because one or more lines are too long
|
@ -389,13 +389,10 @@ class Action extends HTMLOutputter // lawsuit
|
|||
Event::handle('EndShowJQueryScripts', array($this));
|
||||
}
|
||||
if (Event::handle('StartShowStatusNetScripts', array($this))) {
|
||||
if (common_config('site', 'minify')) {
|
||||
$this->script('util.min.js');
|
||||
} else {
|
||||
$this->script('util.js');
|
||||
$this->script('xbImportNode.js');
|
||||
$this->script('geometa.js');
|
||||
}
|
||||
$this->script('util.js');
|
||||
$this->script('xbImportNode.js');
|
||||
$this->script('geometa.js');
|
||||
|
||||
// This route isn't available in single-user mode.
|
||||
// Not sure why, but it causes errors here.
|
||||
$this->inlineScript('var _peopletagAC = "' .
|
||||
|
|
Loading…
Reference in New Issue
Block a user