Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

SOLR-1100 - Typo fixes for solrjs docs

Otis Gospodnetic11f801ed8ddd
diff --git a/contrib/javascript/src/clientside/AutocompleteWidget.js b/contrib/javascript/src/clientside/AutocompleteWidget.js
index de3ab5ca531..3e78d34d599 100755
--- a/contrib/javascript/src/clientside/AutocompleteWidget.js
+++ b/contrib/javascript/src/clientside/AutocompleteWidget.js
@@ -16,7 +16,7 @@
*/
/**
- * <p> Autocomplete input filed that suggests facet values. It can show facet values of multiple
+ * <p> Autocomplete input field that suggests facet values. It can show facet values of multiple
* fields (specified by "fieldNames"), as well as perform a fulltext query ("fulltextFieldName")
* in case no suggested value is selected. </p>
*
diff --git a/contrib/javascript/src/clientside/CalendarWidget.js b/contrib/javascript/src/clientside/CalendarWidget.js
index f36509eba12..1a4aec815bd 100755
--- a/contrib/javascript/src/clientside/CalendarWidget.js
+++ b/contrib/javascript/src/clientside/CalendarWidget.js
@@ -16,7 +16,7 @@
*/
/**
- * A calenader facet field. it uses solr's date facet capabilities, and displays
+ * A calendar facet field. it uses solr's date facet capabilities, and displays
* the document count of one day using the DHTML calendar from www.dynarch.com/projects/calendar
*
* @class CalendarWidget
@@ -91,7 +91,7 @@ jQuery.solrjs.CalendarWidget = jQuery.solrjs.createClass ("AbstractClientSideWid
cal.show();
cal.setDate(new Date(1987, 2, 1));
- // override pribt method to display document count
+ // override print method to display document count
var oldPrint = Date.prototype.print;
Date.prototype.print = function(string) {
if (string.indexOf("solrjs") == -1) {
diff --git a/contrib/javascript/src/clientside/FacetWidget.js b/contrib/javascript/src/clientside/FacetWidget.js
index ef1d2cc4652..2f6f6a62562 100644
--- a/contrib/javascript/src/clientside/FacetWidget.js
+++ b/contrib/javascript/src/clientside/FacetWidget.js
@@ -16,7 +16,7 @@
*/
/**
- * A simple facet widteh that shows the facet values as list. It remembers the selection
+ * A simple facet widget that shows the facet values as list. It remembers the selection
* and shows a "value(x)" label after selection.
*
* @class ExtensibleResultWidget
diff --git a/contrib/javascript/src/clientside/TagcloudWidget.js b/contrib/javascript/src/clientside/TagcloudWidget.js
index a713040659f..09f93c2118d 100755
--- a/contrib/javascript/src/clientside/TagcloudWidget.js
+++ b/contrib/javascript/src/clientside/TagcloudWidget.js
@@ -48,7 +48,7 @@ jQuery.solrjs.TagcloudWidget = jQuery.solrjs.createClass ("AbstractClientSideWid
jQuery(this.target).empty();
if (values.length == 0) {
- jQuery("<div/>").html("not items found in current selection").appendTo(this.target);
+ jQuery("<div/>").html("no items found in current selection").appendTo(this.target);
}
var maxCount = 0;
diff --git a/contrib/javascript/src/core/AbstractServerSideWidget.js b/contrib/javascript/src/core/AbstractServerSideWidget.js
index f847d00d029..f31725c93af 100644
--- a/contrib/javascript/src/core/AbstractServerSideWidget.js
+++ b/contrib/javascript/src/core/AbstractServerSideWidget.js
@@ -50,7 +50,7 @@ jQuery.solrjs.AbstractServerSideWidget = jQuery.solrjs.createClass ("AbstractWid
},
/**
- * The default behaviour is that the result of teh template is simply "copied" to the target div.
+ * The default behaviour is that the result of the template is simply "copied" to the target div.
*
* @param result The result of the velocity template wrapped inside a javascript object.
*/