Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
35 | public function init() |
||
36 | { |
||
37 | parent::init(); |
||
38 | Requirements::javascript(THIRDPARTY_DIR."/jquery/jquery.js"); |
||
39 | Requirements::javascript("widgets_currencyconverter/javascript/CurrencyConverter.js"); |
||
40 | Requirements::css("widgets_currencyconverter/css/CurrencyConverter.css"); |
||
41 | } |
||
42 | public function index() |
||
54 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.