Skip to content

Commit

Permalink
call super
Browse files Browse the repository at this point in the history
  • Loading branch information
James McKinney committed May 31, 2013
1 parent f9da4b3 commit 866fcd1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions core/AbstractFacetWidget.js
Expand Up @@ -25,6 +25,7 @@ AjaxSolr.AbstractFacetWidget = AjaxSolr.AbstractWidget.extend(
* single "fq" parameter for this widget. Defaults to <tt>true</tt>.
*/
constructor: function (attributes) {
AjaxSolr.AbstractFacetWidget.__super__.constructor.apply(this, arguments);
AjaxSolr.extend(this, {
start: 0,
field: null,
Expand Down
1 change: 1 addition & 0 deletions core/AbstractSpellcheckWidget.js
Expand Up @@ -19,6 +19,7 @@ AjaxSolr.AbstractSpellcheckWidget = AjaxSolr.AbstractWidget.extend(
/** @lends AjaxSolr.AbstractSpellcheckWidget.prototype */
{
constructor: function (attributes) {
AjaxSolr.AbstractSpellcheckWidget.__super__.constructor.apply(this, arguments);
AjaxSolr.extend(this, {
// The suggestions.
suggestions: {}
Expand Down
1 change: 1 addition & 0 deletions core/AbstractTextWidget.js
Expand Up @@ -22,6 +22,7 @@ AjaxSolr.AbstractTextWidget = AjaxSolr.AbstractWidget.extend(
* offset parameter to 0 on each request.
*/
constructor: function (attributes) {
AjaxSolr.AbstractTextWidget.__super__.constructor.apply(this, arguments);
AjaxSolr.extend(this, {
start: 0
}, attributes);
Expand Down
1 change: 1 addition & 0 deletions core/ParameterHashStore.js
Expand Up @@ -31,6 +31,7 @@ AjaxSolr.ParameterHashStore = AjaxSolr.ParameterStore.extend(
* up a race condition. Defaults to 250.
*/
constructor: function (attributes) {
AjaxSolr.ParameterHashStore.__super__.constructor.apply(this, arguments);
AjaxSolr.extend(this, {
interval: 250,
// Reference to the setInterval() function.
Expand Down
1 change: 1 addition & 0 deletions widgets/ParameterYUIStore.js
Expand Up @@ -36,6 +36,7 @@ AjaxSolr.ParameterYUIStore = AjaxSolr.ParameterStore.extend(
*
*/
constructor: function (attributes) {
AjaxSolr.ParameterYUIStore.__super__.constructor.apply(this, arguments);
AjaxSolr.extend(this, {
module: 'q',
// Whether the YUI History Manager is initialized.
Expand Down
1 change: 1 addition & 0 deletions widgets/jquery/AutocompleteTermWidget.js
Expand Up @@ -51,6 +51,7 @@ AjaxSolr.AutocompleteTermWidget = AjaxSolr.AbstractTextWidget.extend(
* differentiate these requests in server logs and Solr statistics.
*/
constructor: function (attributes) {
AjaxSolr.AutocompleteTermWidget.__super__.constructor.apply(this, arguments);
AjaxSolr.extend(this, {
field: null,
tokenized: true,
Expand Down
1 change: 1 addition & 0 deletions widgets/jquery/PagerWidget.js
Expand Up @@ -37,6 +37,7 @@ AjaxSolr.PagerWidget = AjaxSolr.AbstractWidget.extend(
* Defaults to " ".
*/
constructor: function (attributes) {
AjaxSolr.PagerWidget.__super__.constructor.apply(this, arguments);
AjaxSolr.extend(this, {
innerWindow: 4,
outerWindow: 1,
Expand Down

0 comments on commit 866fcd1

Please sign in to comment.