@pageboard/html 0.14.19 → 0.14.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/elements/accordion.js +1 -1
  2. package/elements/fieldsets.js +1 -1
  3. package/elements/form.js +2 -2
  4. package/elements/grid.js +1 -1
  5. package/elements/image.js +1 -1
  6. package/elements/input-file.js +2 -2
  7. package/elements/input-property.js +1 -1
  8. package/elements/inputs.js +5 -5
  9. package/elements/layout.js +1 -1
  10. package/elements/link.js +2 -2
  11. package/elements/menu.js +2 -2
  12. package/elements/navigation.js +1 -1
  13. package/elements/page.js +1 -1
  14. package/elements/paragraph.js +2 -2
  15. package/elements/query-tags.js +1 -1
  16. package/elements/tab.js +1 -1
  17. package/elements/table.js +1 -1
  18. package/elements/template.js +1 -1
  19. package/package.json +3 -8
  20. package/ui/card.css +3 -3
  21. package/ui/components/accordion.css +241 -0
  22. package/ui/components/accordion.js +613 -0
  23. package/ui/components/ad.css +275 -0
  24. package/ui/components/api.js +1167 -0
  25. package/ui/components/breadcrumb.css +122 -0
  26. package/ui/components/button.css +3525 -0
  27. package/ui/components/card.css +939 -0
  28. package/ui/components/checkbox.css +604 -0
  29. package/ui/components/checkbox.js +831 -0
  30. package/ui/components/colorize.js +274 -0
  31. package/ui/components/comment.css +268 -0
  32. package/ui/components/container.css +149 -0
  33. package/ui/components/dimmer.css +224 -0
  34. package/ui/components/dimmer.js +733 -0
  35. package/ui/components/divider.css +253 -0
  36. package/ui/components/dropdown.css +1448 -0
  37. package/ui/components/dropdown.js +3955 -0
  38. package/ui/components/embed.css +160 -0
  39. package/ui/components/embed.js +706 -0
  40. package/ui/components/feed.css +281 -0
  41. package/ui/components/flag.css +1035 -0
  42. package/ui/components/form.css +1011 -0
  43. package/ui/components/form.js +1706 -0
  44. package/ui/components/grid.css +1941 -0
  45. package/ui/components/header.css +719 -0
  46. package/ui/components/icon.css +4777 -0
  47. package/ui/components/image.css +310 -0
  48. package/ui/components/input.css +469 -0
  49. package/ui/components/item.css +464 -0
  50. package/ui/components/label.css +1281 -0
  51. package/ui/components/list.css +943 -0
  52. package/ui/components/loader.css +339 -0
  53. package/ui/components/menu.css +1940 -0
  54. package/ui/components/message.css +468 -0
  55. package/ui/components/modal.css +617 -0
  56. package/ui/components/modal.js +1034 -0
  57. package/ui/components/nag.css +145 -0
  58. package/ui/components/nag.js +507 -0
  59. package/ui/components/placeholder.css +229 -0
  60. package/ui/components/popup.css +640 -0
  61. package/ui/components/popup.js +1532 -0
  62. package/ui/components/progress.css +502 -0
  63. package/ui/components/progress.js +931 -0
  64. package/ui/components/rail.css +152 -0
  65. package/ui/components/rating.css +257 -0
  66. package/ui/components/rating.js +508 -0
  67. package/ui/components/reset.css +476 -0
  68. package/ui/components/reveal.css +260 -0
  69. package/ui/components/search.css +431 -0
  70. package/ui/components/search.js +1505 -0
  71. package/ui/components/segment.css +824 -0
  72. package/ui/components/shape.css +143 -0
  73. package/ui/components/shape.js +921 -0
  74. package/ui/components/sidebar.css +537 -0
  75. package/ui/components/sidebar.js +1033 -0
  76. package/ui/components/site.css +184 -0
  77. package/ui/components/site.js +487 -0
  78. package/ui/components/state.js +708 -0
  79. package/ui/components/statistic.css +534 -0
  80. package/ui/components/step.css +566 -0
  81. package/ui/components/sticky.css +73 -0
  82. package/ui/components/sticky.js +959 -0
  83. package/ui/components/tab.css +89 -0
  84. package/ui/components/tab.js +952 -0
  85. package/ui/components/table.css +1108 -0
  86. package/ui/components/transition.css +1792 -0
  87. package/ui/components/transition.js +1095 -0
  88. package/ui/components/video.css +121 -0
  89. package/ui/components/video.js +532 -0
  90. package/ui/components/visibility.js +1311 -0
  91. package/ui/components/visit.js +517 -0
  92. package/ui/item.css +2 -2
  93. package/ui/themes/default/assets/fonts/brand-icons.eot +0 -0
  94. package/ui/themes/default/assets/fonts/brand-icons.svg +1008 -0
  95. package/ui/themes/default/assets/fonts/brand-icons.ttf +0 -0
  96. package/ui/themes/default/assets/fonts/brand-icons.woff +0 -0
  97. package/ui/themes/default/assets/fonts/brand-icons.woff2 +0 -0
  98. package/ui/themes/default/assets/fonts/icons.eot +0 -0
  99. package/ui/themes/default/assets/fonts/icons.otf +0 -0
  100. package/ui/themes/default/assets/fonts/icons.svg +1518 -0
  101. package/ui/themes/default/assets/fonts/icons.ttf +0 -0
  102. package/ui/themes/default/assets/fonts/icons.woff +0 -0
  103. package/ui/themes/default/assets/fonts/icons.woff2 +0 -0
  104. package/ui/themes/default/assets/fonts/outline-icons.eot +0 -0
  105. package/ui/themes/default/assets/fonts/outline-icons.svg +366 -0
  106. package/ui/themes/default/assets/fonts/outline-icons.ttf +0 -0
  107. package/ui/themes/default/assets/fonts/outline-icons.woff +0 -0
  108. package/ui/themes/default/assets/fonts/outline-icons.woff2 +0 -0
  109. package/ui/themes/default/assets/images/flags.png +0 -0
@@ -0,0 +1,613 @@
1
+ /*!
2
+ * # Semantic UI 2.4.1 - Accordion
3
+ * http://github.com/semantic-org/semantic-ui/
4
+ *
5
+ *
6
+ * Released under the MIT license
7
+ * http://opensource.org/licenses/MIT
8
+ *
9
+ */
10
+
11
+ ;(function ($, window, document, undefined) {
12
+
13
+ 'use strict';
14
+
15
+ window = (typeof window != 'undefined' && window.Math == Math)
16
+ ? window
17
+ : (typeof self != 'undefined' && self.Math == Math)
18
+ ? self
19
+ : Function('return this')()
20
+ ;
21
+
22
+ $.fn.accordion = function(parameters) {
23
+ var
24
+ $allModules = $(this),
25
+
26
+ time = new Date().getTime(),
27
+ performance = [],
28
+
29
+ query = arguments[0],
30
+ methodInvoked = (typeof query == 'string'),
31
+ queryArguments = [].slice.call(arguments, 1),
32
+
33
+ requestAnimationFrame = window.requestAnimationFrame
34
+ || window.mozRequestAnimationFrame
35
+ || window.webkitRequestAnimationFrame
36
+ || window.msRequestAnimationFrame
37
+ || function(callback) { setTimeout(callback, 0); },
38
+
39
+ returnedValue
40
+ ;
41
+ $allModules
42
+ .each(function() {
43
+ var
44
+ settings = ( $.isPlainObject(parameters) )
45
+ ? $.extend(true, {}, $.fn.accordion.settings, parameters)
46
+ : $.extend({}, $.fn.accordion.settings),
47
+
48
+ className = settings.className,
49
+ namespace = settings.namespace,
50
+ selector = settings.selector,
51
+ error = settings.error,
52
+
53
+ eventNamespace = '.' + namespace,
54
+ moduleNamespace = 'module-' + namespace,
55
+ moduleSelector = $allModules.selector || '',
56
+
57
+ $module = $(this),
58
+ $title = $module.find(selector.title),
59
+ $content = $module.find(selector.content),
60
+
61
+ element = this,
62
+ instance = $module.data(moduleNamespace),
63
+ observer,
64
+ module
65
+ ;
66
+
67
+ module = {
68
+
69
+ initialize: function() {
70
+ module.debug('Initializing', $module);
71
+ module.bind.events();
72
+ if(settings.observeChanges) {
73
+ module.observeChanges();
74
+ }
75
+ module.instantiate();
76
+ },
77
+
78
+ instantiate: function() {
79
+ instance = module;
80
+ $module
81
+ .data(moduleNamespace, module)
82
+ ;
83
+ },
84
+
85
+ destroy: function() {
86
+ module.debug('Destroying previous instance', $module);
87
+ $module
88
+ .off(eventNamespace)
89
+ .removeData(moduleNamespace)
90
+ ;
91
+ },
92
+
93
+ refresh: function() {
94
+ $title = $module.find(selector.title);
95
+ $content = $module.find(selector.content);
96
+ },
97
+
98
+ observeChanges: function() {
99
+ if('MutationObserver' in window) {
100
+ observer = new MutationObserver(function(mutations) {
101
+ module.debug('DOM tree modified, updating selector cache');
102
+ module.refresh();
103
+ });
104
+ observer.observe(element, {
105
+ childList : true,
106
+ subtree : true
107
+ });
108
+ module.debug('Setting up mutation observer', observer);
109
+ }
110
+ },
111
+
112
+ bind: {
113
+ events: function() {
114
+ module.debug('Binding delegated events');
115
+ $module
116
+ .on(settings.on + eventNamespace, selector.trigger, module.event.click)
117
+ ;
118
+ }
119
+ },
120
+
121
+ event: {
122
+ click: function() {
123
+ module.toggle.call(this);
124
+ }
125
+ },
126
+
127
+ toggle: function(query) {
128
+ var
129
+ $activeTitle = (query !== undefined)
130
+ ? (typeof query === 'number')
131
+ ? $title.eq(query)
132
+ : $(query).closest(selector.title)
133
+ : $(this).closest(selector.title),
134
+ $activeContent = $activeTitle.next($content),
135
+ isAnimating = $activeContent.hasClass(className.animating),
136
+ isActive = $activeContent.hasClass(className.active),
137
+ isOpen = (isActive && !isAnimating),
138
+ isOpening = (!isActive && isAnimating)
139
+ ;
140
+ module.debug('Toggling visibility of content', $activeTitle);
141
+ if(isOpen || isOpening) {
142
+ if(settings.collapsible) {
143
+ module.close.call($activeTitle);
144
+ }
145
+ else {
146
+ module.debug('Cannot close accordion content collapsing is disabled');
147
+ }
148
+ }
149
+ else {
150
+ module.open.call($activeTitle);
151
+ }
152
+ },
153
+
154
+ open: function(query) {
155
+ var
156
+ $activeTitle = (query !== undefined)
157
+ ? (typeof query === 'number')
158
+ ? $title.eq(query)
159
+ : $(query).closest(selector.title)
160
+ : $(this).closest(selector.title),
161
+ $activeContent = $activeTitle.next($content),
162
+ isAnimating = $activeContent.hasClass(className.animating),
163
+ isActive = $activeContent.hasClass(className.active),
164
+ isOpen = (isActive || isAnimating)
165
+ ;
166
+ if(isOpen) {
167
+ module.debug('Accordion already open, skipping', $activeContent);
168
+ return;
169
+ }
170
+ module.debug('Opening accordion content', $activeTitle);
171
+ settings.onOpening.call($activeContent);
172
+ settings.onChanging.call($activeContent);
173
+ if(settings.exclusive) {
174
+ module.closeOthers.call($activeTitle);
175
+ }
176
+ $activeTitle
177
+ .addClass(className.active)
178
+ ;
179
+ $activeContent
180
+ .stop(true, true)
181
+ .addClass(className.animating)
182
+ ;
183
+ if(settings.animateChildren) {
184
+ if($.fn.transition !== undefined && $module.transition('is supported')) {
185
+ $activeContent
186
+ .children()
187
+ .transition({
188
+ animation : 'fade in',
189
+ queue : false,
190
+ useFailSafe : true,
191
+ debug : settings.debug,
192
+ verbose : settings.verbose,
193
+ duration : settings.duration
194
+ })
195
+ ;
196
+ }
197
+ else {
198
+ $activeContent
199
+ .children()
200
+ .stop(true, true)
201
+ .animate({
202
+ opacity: 1
203
+ }, settings.duration, module.resetOpacity)
204
+ ;
205
+ }
206
+ }
207
+ $activeContent
208
+ .slideDown(settings.duration, settings.easing, function() {
209
+ $activeContent
210
+ .removeClass(className.animating)
211
+ .addClass(className.active)
212
+ ;
213
+ module.reset.display.call(this);
214
+ settings.onOpen.call(this);
215
+ settings.onChange.call(this);
216
+ })
217
+ ;
218
+ },
219
+
220
+ close: function(query) {
221
+ var
222
+ $activeTitle = (query !== undefined)
223
+ ? (typeof query === 'number')
224
+ ? $title.eq(query)
225
+ : $(query).closest(selector.title)
226
+ : $(this).closest(selector.title),
227
+ $activeContent = $activeTitle.next($content),
228
+ isAnimating = $activeContent.hasClass(className.animating),
229
+ isActive = $activeContent.hasClass(className.active),
230
+ isOpening = (!isActive && isAnimating),
231
+ isClosing = (isActive && isAnimating)
232
+ ;
233
+ if((isActive || isOpening) && !isClosing) {
234
+ module.debug('Closing accordion content', $activeContent);
235
+ settings.onClosing.call($activeContent);
236
+ settings.onChanging.call($activeContent);
237
+ $activeTitle
238
+ .removeClass(className.active)
239
+ ;
240
+ $activeContent
241
+ .stop(true, true)
242
+ .addClass(className.animating)
243
+ ;
244
+ if(settings.animateChildren) {
245
+ if($.fn.transition !== undefined && $module.transition('is supported')) {
246
+ $activeContent
247
+ .children()
248
+ .transition({
249
+ animation : 'fade out',
250
+ queue : false,
251
+ useFailSafe : true,
252
+ debug : settings.debug,
253
+ verbose : settings.verbose,
254
+ duration : settings.duration
255
+ })
256
+ ;
257
+ }
258
+ else {
259
+ $activeContent
260
+ .children()
261
+ .stop(true, true)
262
+ .animate({
263
+ opacity: 0
264
+ }, settings.duration, module.resetOpacity)
265
+ ;
266
+ }
267
+ }
268
+ $activeContent
269
+ .slideUp(settings.duration, settings.easing, function() {
270
+ $activeContent
271
+ .removeClass(className.animating)
272
+ .removeClass(className.active)
273
+ ;
274
+ module.reset.display.call(this);
275
+ settings.onClose.call(this);
276
+ settings.onChange.call(this);
277
+ })
278
+ ;
279
+ }
280
+ },
281
+
282
+ closeOthers: function(index) {
283
+ var
284
+ $activeTitle = (index !== undefined)
285
+ ? $title.eq(index)
286
+ : $(this).closest(selector.title),
287
+ $parentTitles = $activeTitle.parents(selector.content).prev(selector.title),
288
+ $activeAccordion = $activeTitle.closest(selector.accordion),
289
+ activeSelector = selector.title + '.' + className.active + ':visible',
290
+ activeContent = selector.content + '.' + className.active + ':visible',
291
+ $openTitles,
292
+ $nestedTitles,
293
+ $openContents
294
+ ;
295
+ if(settings.closeNested) {
296
+ $openTitles = $activeAccordion.find(activeSelector).not($parentTitles);
297
+ $openContents = $openTitles.next($content);
298
+ }
299
+ else {
300
+ $openTitles = $activeAccordion.find(activeSelector).not($parentTitles);
301
+ $nestedTitles = $activeAccordion.find(activeContent).find(activeSelector).not($parentTitles);
302
+ $openTitles = $openTitles.not($nestedTitles);
303
+ $openContents = $openTitles.next($content);
304
+ }
305
+ if( ($openTitles.length > 0) ) {
306
+ module.debug('Exclusive enabled, closing other content', $openTitles);
307
+ $openTitles
308
+ .removeClass(className.active)
309
+ ;
310
+ $openContents
311
+ .removeClass(className.animating)
312
+ .stop(true, true)
313
+ ;
314
+ if(settings.animateChildren) {
315
+ if($.fn.transition !== undefined && $module.transition('is supported')) {
316
+ $openContents
317
+ .children()
318
+ .transition({
319
+ animation : 'fade out',
320
+ useFailSafe : true,
321
+ debug : settings.debug,
322
+ verbose : settings.verbose,
323
+ duration : settings.duration
324
+ })
325
+ ;
326
+ }
327
+ else {
328
+ $openContents
329
+ .children()
330
+ .stop(true, true)
331
+ .animate({
332
+ opacity: 0
333
+ }, settings.duration, module.resetOpacity)
334
+ ;
335
+ }
336
+ }
337
+ $openContents
338
+ .slideUp(settings.duration , settings.easing, function() {
339
+ $(this).removeClass(className.active);
340
+ module.reset.display.call(this);
341
+ })
342
+ ;
343
+ }
344
+ },
345
+
346
+ reset: {
347
+
348
+ display: function() {
349
+ module.verbose('Removing inline display from element', this);
350
+ $(this).css('display', '');
351
+ if( $(this).attr('style') === '') {
352
+ $(this)
353
+ .attr('style', '')
354
+ .removeAttr('style')
355
+ ;
356
+ }
357
+ },
358
+
359
+ opacity: function() {
360
+ module.verbose('Removing inline opacity from element', this);
361
+ $(this).css('opacity', '');
362
+ if( $(this).attr('style') === '') {
363
+ $(this)
364
+ .attr('style', '')
365
+ .removeAttr('style')
366
+ ;
367
+ }
368
+ },
369
+
370
+ },
371
+
372
+ setting: function(name, value) {
373
+ module.debug('Changing setting', name, value);
374
+ if( $.isPlainObject(name) ) {
375
+ $.extend(true, settings, name);
376
+ }
377
+ else if(value !== undefined) {
378
+ if($.isPlainObject(settings[name])) {
379
+ $.extend(true, settings[name], value);
380
+ }
381
+ else {
382
+ settings[name] = value;
383
+ }
384
+ }
385
+ else {
386
+ return settings[name];
387
+ }
388
+ },
389
+ internal: function(name, value) {
390
+ module.debug('Changing internal', name, value);
391
+ if(value !== undefined) {
392
+ if( $.isPlainObject(name) ) {
393
+ $.extend(true, module, name);
394
+ }
395
+ else {
396
+ module[name] = value;
397
+ }
398
+ }
399
+ else {
400
+ return module[name];
401
+ }
402
+ },
403
+ debug: function() {
404
+ if(!settings.silent && settings.debug) {
405
+ if(settings.performance) {
406
+ module.performance.log(arguments);
407
+ }
408
+ else {
409
+ module.debug = Function.prototype.bind.call(console.info, console, settings.name + ':');
410
+ module.debug.apply(console, arguments);
411
+ }
412
+ }
413
+ },
414
+ verbose: function() {
415
+ if(!settings.silent && settings.verbose && settings.debug) {
416
+ if(settings.performance) {
417
+ module.performance.log(arguments);
418
+ }
419
+ else {
420
+ module.verbose = Function.prototype.bind.call(console.info, console, settings.name + ':');
421
+ module.verbose.apply(console, arguments);
422
+ }
423
+ }
424
+ },
425
+ error: function() {
426
+ if(!settings.silent) {
427
+ module.error = Function.prototype.bind.call(console.error, console, settings.name + ':');
428
+ module.error.apply(console, arguments);
429
+ }
430
+ },
431
+ performance: {
432
+ log: function(message) {
433
+ var
434
+ currentTime,
435
+ executionTime,
436
+ previousTime
437
+ ;
438
+ if(settings.performance) {
439
+ currentTime = new Date().getTime();
440
+ previousTime = time || currentTime;
441
+ executionTime = currentTime - previousTime;
442
+ time = currentTime;
443
+ performance.push({
444
+ 'Name' : message[0],
445
+ 'Arguments' : [].slice.call(message, 1) || '',
446
+ 'Element' : element,
447
+ 'Execution Time' : executionTime
448
+ });
449
+ }
450
+ clearTimeout(module.performance.timer);
451
+ module.performance.timer = setTimeout(module.performance.display, 500);
452
+ },
453
+ display: function() {
454
+ var
455
+ title = settings.name + ':',
456
+ totalTime = 0
457
+ ;
458
+ time = false;
459
+ clearTimeout(module.performance.timer);
460
+ $.each(performance, function(index, data) {
461
+ totalTime += data['Execution Time'];
462
+ });
463
+ title += ' ' + totalTime + 'ms';
464
+ if(moduleSelector) {
465
+ title += ' \'' + moduleSelector + '\'';
466
+ }
467
+ if( (console.group !== undefined || console.table !== undefined) && performance.length > 0) {
468
+ console.groupCollapsed(title);
469
+ if(console.table) {
470
+ console.table(performance);
471
+ }
472
+ else {
473
+ $.each(performance, function(index, data) {
474
+ console.log(data['Name'] + ': ' + data['Execution Time']+'ms');
475
+ });
476
+ }
477
+ console.groupEnd();
478
+ }
479
+ performance = [];
480
+ }
481
+ },
482
+ invoke: function(query, passedArguments, context) {
483
+ var
484
+ object = instance,
485
+ maxDepth,
486
+ found,
487
+ response
488
+ ;
489
+ passedArguments = passedArguments || queryArguments;
490
+ context = element || context;
491
+ if(typeof query == 'string' && object !== undefined) {
492
+ query = query.split(/[\. ]/);
493
+ maxDepth = query.length - 1;
494
+ $.each(query, function(depth, value) {
495
+ var camelCaseValue = (depth != maxDepth)
496
+ ? value + query[depth + 1].charAt(0).toUpperCase() + query[depth + 1].slice(1)
497
+ : query
498
+ ;
499
+ if( $.isPlainObject( object[camelCaseValue] ) && (depth != maxDepth) ) {
500
+ object = object[camelCaseValue];
501
+ }
502
+ else if( object[camelCaseValue] !== undefined ) {
503
+ found = object[camelCaseValue];
504
+ return false;
505
+ }
506
+ else if( $.isPlainObject( object[value] ) && (depth != maxDepth) ) {
507
+ object = object[value];
508
+ }
509
+ else if( object[value] !== undefined ) {
510
+ found = object[value];
511
+ return false;
512
+ }
513
+ else {
514
+ module.error(error.method, query);
515
+ return false;
516
+ }
517
+ });
518
+ }
519
+ if ( $.isFunction( found ) ) {
520
+ response = found.apply(context, passedArguments);
521
+ }
522
+ else if(found !== undefined) {
523
+ response = found;
524
+ }
525
+ if($.isArray(returnedValue)) {
526
+ returnedValue.push(response);
527
+ }
528
+ else if(returnedValue !== undefined) {
529
+ returnedValue = [returnedValue, response];
530
+ }
531
+ else if(response !== undefined) {
532
+ returnedValue = response;
533
+ }
534
+ return found;
535
+ }
536
+ };
537
+ if(methodInvoked) {
538
+ if(instance === undefined) {
539
+ module.initialize();
540
+ }
541
+ module.invoke(query);
542
+ }
543
+ else {
544
+ if(instance !== undefined) {
545
+ instance.invoke('destroy');
546
+ }
547
+ module.initialize();
548
+ }
549
+ })
550
+ ;
551
+ return (returnedValue !== undefined)
552
+ ? returnedValue
553
+ : this
554
+ ;
555
+ };
556
+
557
+ $.fn.accordion.settings = {
558
+
559
+ name : 'Accordion',
560
+ namespace : 'accordion',
561
+
562
+ silent : false,
563
+ debug : false,
564
+ verbose : false,
565
+ performance : true,
566
+
567
+ on : 'click', // event on title that opens accordion
568
+
569
+ observeChanges : true, // whether accordion should automatically refresh on DOM insertion
570
+
571
+ exclusive : true, // whether a single accordion content panel should be open at once
572
+ collapsible : true, // whether accordion content can be closed
573
+ closeNested : false, // whether nested content should be closed when a panel is closed
574
+ animateChildren : true, // whether children opacity should be animated
575
+
576
+ duration : 350, // duration of animation
577
+ easing : 'easeOutQuad', // easing equation for animation
578
+
579
+ onOpening : function(){}, // callback before open animation
580
+ onClosing : function(){}, // callback before closing animation
581
+ onChanging : function(){}, // callback before closing or opening animation
582
+
583
+ onOpen : function(){}, // callback after open animation
584
+ onClose : function(){}, // callback after closing animation
585
+ onChange : function(){}, // callback after closing or opening animation
586
+
587
+ error: {
588
+ method : 'The method you called is not defined'
589
+ },
590
+
591
+ className : {
592
+ active : 'active',
593
+ animating : 'animating'
594
+ },
595
+
596
+ selector : {
597
+ accordion : '.accordion',
598
+ title : '.title',
599
+ trigger : '.title',
600
+ content : '.content'
601
+ }
602
+
603
+ };
604
+
605
+ // Adds easing
606
+ $.extend( $.easing, {
607
+ easeOutQuad: function (x, t, b, c, d) {
608
+ return -c *(t/=d)*(t-2) + b;
609
+ }
610
+ });
611
+
612
+ })( jQuery, window, document );
613
+