Changeset 8008 for trunk/include/template.class.php
- Timestamp:
- Dec 6, 2010, 4:39:51 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/template.class.php
r7995 r8008 823 823 final class Script 824 824 { 825 public $id; 825 826 public $load_mode; 826 827 public $precedents = array(); … … 829 830 public $extra = array(); 830 831 831 function Script($load_mode, $precedents, $path, $version) 832 { 832 function Script($id, $load_mode, $precedents, $path, $version) 833 { 834 $this->id = $id; 833 835 $this->load_mode = $load_mode; 834 836 $this->precedents = $precedents; … … 900 902 if (! isset( $this->registered_scripts[$id] ) ) 901 903 { 902 $script = new Script($ load_mode, $require, $path, $version);904 $script = new Script($id, $load_mode, $require, $path, $version); 903 905 self::fill_well_known($id, $script); 904 906 $this->registered_scripts[$id] = $script;
Note: See TracChangeset
for help on using the changeset viewer.