Skip to content

Commit

Permalink
Completed the move for the Charts as an dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
duboisp committed Oct 3, 2012
1 parent 8da1fb1 commit 57e5753
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/js/dependencies/charts.js
Expand Up @@ -12,10 +12,10 @@
fn: {}
}; /* local reference */
_pe.fn.charts = {
type: 'plugin',
depends: ['raphael', 'parserTable'],
polyfills: ['detailssummary'],
_exec: function (elm) {
// type: 'plugin',
// depends: ['raphael', 'parserTable'],
// polyfills: ['detailssummary'],
generate: function (elm) {
var options = {},
o,
self = $(elm),
Expand Down
24 changes: 24 additions & 0 deletions src/js/workers/charts.js
@@ -0,0 +1,24 @@
/*!
* Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
* wet-boew.github.com/wet-boew/License-eng.txt / wet-boew.github.com/wet-boew/Licence-fra.txt
*/
/*
* Chart for WET 3.0
*/
/*global jQuery: false, pe:false, wet_boew_charts: false, Raphael: false*/
(function ($) {
"use strict";
var _pe = window.pe || {
fn: {}
}; /* local reference */
_pe.fn.charts = {
type: 'plugin',
depends: ['raphael', 'parserTable', 'charts'],
polyfills: ['detailssummary'],
_exec: function (elm) {
_pe.fn.charts.generate(elm);
} // end of exec
};
window.pe = _pe;
return _pe;
}(jQuery));

0 comments on commit 57e5753

Please sign in to comment.