Created
April 26, 2016 17:00
-
-
Save AlexanderAllen/779ed81d3d1ca2433ca58d391476bd5a to your computer and use it in GitHub Desktop.
debug js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function ($) { | |
Drupal.behaviors.nvc_hack = { | |
attach: function (context, settings) { | |
alert('attach working foo'); | |
} | |
}; | |
// Code to be run on page load, and | |
// on ajax load added here | |
$(document).ready(function(){ | |
alert('on dom ready working'); | |
}); //end DOM | |
})(jQuery); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment