This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <?php | |
| echo implode(', ', range('a', 'z')); | |
| echo '<br />'; | |
| echo implode(', ', range('A', 'Z')); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** | |
| * Create basic jQuery plugin | |
| */ | |
| (function ($) { | |
| $.fn.myPlugin = function (options) { | |
| return this.each(function () { | |
| // Do stuff | |
| }); | |
| } | |
| })(jQuery); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (function ($) { | |
| Drupal.behaviors.myModule = { | |
| attach: function (context) { | |
| // Code ... | |
| } | |
| } | |
| })(jQuery); |
NewerOlder