|
525
|
1 |
/* |
|
|
2 |
YUI 3.10.3 (build 2fb5187) |
|
|
3 |
Copyright 2013 Yahoo! Inc. All rights reserved. |
|
|
4 |
Licensed under the BSD License. |
|
|
5 |
http://yuilibrary.com/license/ |
|
|
6 |
*/ |
|
|
7 |
|
|
|
8 |
YUI.add('pjax-plugin', function (Y, NAME) { |
|
|
9 |
|
|
|
10 |
/** |
|
|
11 |
Node plugin that provides seamless, gracefully degrading pjax functionality. |
|
|
12 |
|
|
|
13 |
@module pjax |
|
|
14 |
@submodule pjax-plugin |
|
|
15 |
@since 3.5.0 |
|
|
16 |
**/ |
|
|
17 |
|
|
|
18 |
/** |
|
|
19 |
Node plugin that provides seamless, gracefully degrading pjax functionality. |
|
|
20 |
|
|
|
21 |
@class Plugin.Pjax |
|
|
22 |
@extends Pjax |
|
|
23 |
@since 3.5.0 |
|
|
24 |
**/ |
|
|
25 |
|
|
|
26 |
Y.Plugin.Pjax = Y.Base.create('pjaxPlugin', Y.Pjax, [Y.Plugin.Base], { |
|
|
27 |
// -- Lifecycle Methods ---------------------------------------------------- |
|
|
28 |
initializer: function (config) { |
|
|
29 |
this.set('container', config.host); |
|
|
30 |
} |
|
|
31 |
}, { |
|
|
32 |
NS: 'pjax' |
|
|
33 |
}); |
|
|
34 |
|
|
|
35 |
|
|
|
36 |
}, '3.10.3', {"requires": ["node-pluginhost", "pjax", "plugin"]}); |