Skip to content

Commit

Permalink
fix: remove incorrectly merged PR
Browse files Browse the repository at this point in the history
  • Loading branch information
alexstanbury committed Mar 7, 2017
1 parent f913d3e commit e792c8d
Showing 1 changed file with 3 additions and 25 deletions.
28 changes: 3 additions & 25 deletions src/scripts/chartist-plugin-axistitle.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,8 @@
* version 0.0.3
* author: alex stanbury
*/
(function(root, factory) {
if (typeof define === 'function' && define.amd) {
// AMD. Register as an anonymous module.
define(['chartist'], function(chartist) {
return (root.returnExportsGlobal = factory(chartist));
});
} else if (typeof exports === 'object') {
// Node. Does not work with strict CommonJS, but
// only CommonJS-like environments that support module.exports,
// like Node.
module.exports = factory(require('chartist'));
} else {
/* global Chartist */
root['Chartist.plugins.ctAxisTitle'] = factory(root.Chartist);
}
}(this, function(Chartist) {

/**
* Chartist.js plugin to display a title for 1 or 2 axes.
*
*/
/* global Chartist */
/* global Chartist */
(function (window, document, Chartist) {
'use strict';

var axisDefaults = {
Expand Down Expand Up @@ -142,6 +122,4 @@
});
};
};

return Chartist.plugins.ctAxisTitle;
}));
}(window, document, Chartist));

0 comments on commit e792c8d

Please sign in to comment.