git-svn-id: http://xe-core.googlecode.com/svn/trunk@1199 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-04-18 01:12:09 +00:00
parent edd3931046
commit 46ceabcbb9
4 changed files with 26 additions and 7 deletions

View file

@ -57,8 +57,7 @@
function compile() {
if(!file_exists($this->xml_file)) return;
if(!file_exists($this->js_file)) $this->_compile();
if(filectime($this->xml_file)>filectime($this->js_file)) $this->_compile();
$this->_compile();
else if(filectime($this->xml_file)>filectime($this->js_file)) $this->_compile();
Context::addJsFile($this->js_file);
}