Skip to content

Commit

Permalink
Change reference to jquery to be implicit
Browse files Browse the repository at this point in the history
  • Loading branch information
ediblecode committed Jan 26, 2017
1 parent 7272716 commit eb6dcf6
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion src/components/tabs/tabs.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
* Tabs
*/

import $ from "jquery";
import keycode from "keycode";
import pluginizr from "../../javascripts/pluginizr";
import eventr from "../../javascripts/eventr";
Expand Down
1 change: 0 additions & 1 deletion src/javascripts/experience.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import $ from "jquery";
import pluginAutoLoader from "./plugin-autoloader";
import Tabs from "./../components/tabs/tabs.js";
import Tracker from "./tracker";
Expand Down
1 change: 0 additions & 1 deletion src/javascripts/plugin-autoloader.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import $ from "jquery";
import { getPlugins } from "./pluginizr";

// Regex to find the name of a module from its path.
Expand Down
3 changes: 1 addition & 2 deletions src/javascripts/pluginizr.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
import $ from "jquery";

// List of registered plugins, as { name, pluginClass }
const plugins = [];

Expand Down Expand Up @@ -38,6 +36,7 @@ export function getPlugins() {
* var value = $(".selector").test("getValue");
*/
export default (pluginName: string, Plugin) => {

plugins.push({ name: pluginName, pluginClass: Plugin }); // Store this registered plugin

const dataName = `__${pluginName}`,
Expand Down
1 change: 0 additions & 1 deletion src/javascripts/tracker.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
* For tracking and analytics
*/

import $ from "jquery";
import pluginizr from "./pluginizr";
import eventr from "./eventr";

Expand Down

0 comments on commit eb6dcf6

Please sign in to comment.