Skip to content

Instantly share code, notes, and snippets.

@wesruv wesruv/script.js
Created May 13, 2017

What would you like to do?
Drupal 7 JS File Starter
* @file
* A JavaScript file that does stuff.
// JavaScript should be made compatible with libraries other than jQuery by
// wrapping it with an "anonymous closure". See:
// -
// -
(function ($) {
'use strict';
Drupal.behaviors.componentName = {
attach: function (context) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.