| Conditions | 1 |
| Paths | 1 |
| Total Lines | 22 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | ;(function($) { |
||
| 2 | 'use strict'; |
||
| 3 | |||
| 4 | $.plugin('ocHelloWorld', { |
||
| 5 | /** |
||
| 6 | * Default plugin initialisation function. |
||
| 7 | * Registers an event listener on the change event. |
||
| 8 | * When it's triggered, the parent form will be submitted. |
||
| 9 | * |
||
| 10 | * @public |
||
| 11 | * @method init |
||
| 12 | */ |
||
| 13 | init: function () { |
||
| 14 | var me = this; |
||
| 15 | |||
| 16 | // Applies HTML data attributes to the current options |
||
| 17 | me.applyDataAttributes(); |
||
| 18 | |||
| 19 | console.log('Hello World'); |
||
|
|
|||
| 20 | } |
||
| 21 | }); |
||
| 22 | })(jQuery); |
||
| 23 |