equal
deleted
inserted
replaced
|
1 YUI.add('pjax-plugin', function (Y, NAME) { |
|
2 |
|
3 /** |
|
4 Node plugin that provides seamless, gracefully degrading pjax functionality. |
|
5 |
|
6 @module pjax |
|
7 @submodule pjax-plugin |
|
8 @since 3.5.0 |
|
9 **/ |
|
10 |
|
11 /** |
|
12 Node plugin that provides seamless, gracefully degrading pjax functionality. |
|
13 |
|
14 @class Plugin.Pjax |
|
15 @extends Pjax |
|
16 @since 3.5.0 |
|
17 **/ |
|
18 |
|
19 Y.Plugin.Pjax = Y.Base.create('pjaxPlugin', Y.Pjax, [Y.Plugin.Base], { |
|
20 // -- Lifecycle Methods ---------------------------------------------------- |
|
21 initializer: function (config) { |
|
22 this.set('container', config.host); |
|
23 } |
|
24 }, { |
|
25 NS: 'pjax' |
|
26 }); |
|
27 |
|
28 |
|
29 }, '@VERSION@', {"requires": ["node-pluginhost", "pjax", "plugin"]}); |