Commit 9e239760 authored by webchick's avatar webchick

Issue #2167625 by nod_: JSHint errors.

parent de6c7760
......@@ -71,6 +71,7 @@ function searchHandler (event) {
* @param {Function} response
*/
function sourceData (request, response) {
/*jshint validthis:true */
var elementId = this.element.attr('id');
if (!(elementId in autocomplete.cache)) {
......
......@@ -28,7 +28,7 @@ Drupal.edit.FieldToolbarView = Backbone.View.extend({
// Generate a DOM-compatible ID for the form container DOM element.
this._id = 'edit-toolbar-for-' + this.model.id.replace(/[\/\[\]]/g, '_');
this.listenTo(this.model, 'change:state', this.stateChange)
this.listenTo(this.model, 'change:state', this.stateChange);
},
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment