<module>
<name>jQuery <small>(ver. 2.0+)</small></name>
<description>jQuery module will automaticaly download jquery JS library localy and will provide script tag with local path.</description>
<example>
<init>$jquery = module('jquery');</init>
<return>$jquery->load('1.12.4') will return string like <script src="http://xmodule.eco.mk/cache/permanent/jquery/1.12.4.js"></script></return>
<code>
<pre>
<?php
//loading module
$jquery = module('jquery');
?>
</pre>
</code>
<code>
<pre>
<!DOCTYPE html>
<html lang="en">
<head>
<?php echo $jquery->load('1.12.4');?>
...
</pre>
</code>
</example>
</module>
<author>
<name>Mihajlo Siljanoski</name>
<web>https://mk.linkedin.com/in/msiljanoski</web>
</author>
|