I am using D7. I am getting the above error when I created a js file with the code below and then included it in the .info file. What is wrong?
(function($) {
Drupal.behaviors.userLoginChanges = {
attach: function(context) {
$("#user-login-form").attr("placeholder", "Username");
}
}
}) (jQuery);