From 900e9a4bbc1d943f7f48141c16a2051f22d8718d Mon Sep 17 00:00:00 2001 From: Stefano Mazzocchi Date: Wed, 5 May 2010 00:39:40 +0000 Subject: [PATCH] more jslint fixes git-svn-id: http://google-refine.googlecode.com/svn/trunk@597 7d457c2a-affb-35e4-300a-418c747d4874 --- .../webapp/scripts/protograph/schema-alignment-ui-link.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/webapp/scripts/protograph/schema-alignment-ui-link.js b/src/main/webapp/scripts/protograph/schema-alignment-ui-link.js index fa942c229..e4395c2b6 100644 --- a/src/main/webapp/scripts/protograph/schema-alignment-ui-link.js +++ b/src/main/webapp/scripts/protograph/schema-alignment-ui-link.js @@ -105,14 +105,14 @@ SchemaAlignmentDialog.UILink.prototype._startEditProperty = function(elmt) { var outgoing = []; var incoming = []; - function onDone(properties) { + var onDone = function(properties) { dismissBusy(); self._showPropertySuggestPopup( elmt, properties ); - } + }; SchemaAlignmentDialog.UILink._getPropertiesOfType( sourceTypeID, @@ -195,12 +195,12 @@ SchemaAlignmentDialog.UILink.prototype._showPropertySuggestPopup = function(elmt if (suggestions.length > 0) { divSearch = $('
').addClass("schema-alignment-link-menu-type-search2").html('
Search for a property or pick one below
').appendTo(menu); - function createSuggestion(suggestion) { + var createSuggestion = function(suggestion) { var menuItem = MenuSystem.createMenuItem().appendTo(menu); menuItem.html(suggestion.id).click(function() { commitProperty(suggestion); }); - } + }; for (var i = 0; i < suggestions.length; i++) { createSuggestion(suggestions[i]);