Skip to content
This repository has been archived by the owner on Aug 3, 2021. It is now read-only.

Commit

Permalink
chore(all) new build
Browse files Browse the repository at this point in the history
  • Loading branch information
vegarringdal committed Sep 1, 2017
1 parent 2ca4291 commit 4987a3a
Show file tree
Hide file tree
Showing 13 changed files with 21 additions and 17 deletions.
2 changes: 1 addition & 1 deletion dist/amd/grid/contextMenu.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/amd/grid/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ define(["require", "exports"], function (require, exports) {
if (this.attI18N) {
keys.forEach(function (key) {
if (_this.vGrid.filterOperatorTranslationKeys[key]) {
_this.vGrid.filterOperatorNames[_this.vGrid.filterOperatorTranslationKeys[key]] = _this.attI18N(key);
_this.vGrid.filterOperatorNames[_this.vGrid.filterOperatorTranslationKeys[key]] = _this.attI18N(key) || _this.vGrid.filterOperatorNames[_this.vGrid.filterOperatorTranslationKeys[key]];
}
_this.contextMenu.updateMenuStrings(key, _this.attI18N(key));
});
Expand Down
5 changes: 3 additions & 2 deletions dist/amd/grid/rowScrollEvents.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,9 @@ define(["require", "exports"], function (require, exports) {
};
var setBefore = function (no) {
var row = _this.rowCache[no];
_this.setRowHeight(row, currentRow);
firstRowTop = firstRowTop - rowHeightState.rows[currentRow];
firstRow--;
firstRowTop = firstRowTop - rowHeightState.rows[firstRow];
_this.setRowHeight(row, rowHeightState.top[firstRow]);
_this.setRowTopValueVariableRowHeight(row, firstRowTop);
};
var setHiddenFromView = function (no) {
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/grid/contextMenu.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ var ContextMenu = (function () {
};
ContextMenu.prototype.updateMenuStrings = function (key, text) {
if (this.menuStrings[key]) {
this.menuStrings[key] = text;
this.menuStrings[key] = text || this.menuStrings[key];
}
};
ContextMenu.prototype.closeMenuEvent = function () {
Expand Down
2 changes: 1 addition & 1 deletion dist/commonjs/grid/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ var Controller = (function () {
if (this.attI18N) {
keys.forEach(function (key) {
if (_this.vGrid.filterOperatorTranslationKeys[key]) {
_this.vGrid.filterOperatorNames[_this.vGrid.filterOperatorTranslationKeys[key]] = _this.attI18N(key);
_this.vGrid.filterOperatorNames[_this.vGrid.filterOperatorTranslationKeys[key]] = _this.attI18N(key) || _this.vGrid.filterOperatorNames[_this.vGrid.filterOperatorTranslationKeys[key]];
}
_this.contextMenu.updateMenuStrings(key, _this.attI18N(key));
});
Expand Down
5 changes: 3 additions & 2 deletions dist/commonjs/grid/rowScrollEvents.js
Original file line number Diff line number Diff line change
Expand Up @@ -273,8 +273,9 @@ var RowScrollEvents = (function () {
};
var setBefore = function (no) {
var row = _this.rowCache[no];
_this.setRowHeight(row, currentRow);
firstRowTop = firstRowTop - rowHeightState.rows[currentRow];
firstRow--;
firstRowTop = firstRowTop - rowHeightState.rows[firstRow];
_this.setRowHeight(row, rowHeightState.top[firstRow]);
_this.setRowTopValueVariableRowHeight(row, firstRowTop);
};
var setHiddenFromView = function (no) {
Expand Down
2 changes: 1 addition & 1 deletion dist/es2015/grid/contextMenu.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/es2015/grid/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ define(["require", "exports"], function (require, exports) {
if (this.attI18N) {
keys.forEach(function (key) {
if (_this.vGrid.filterOperatorTranslationKeys[key]) {
_this.vGrid.filterOperatorNames[_this.vGrid.filterOperatorTranslationKeys[key]] = _this.attI18N(key);
_this.vGrid.filterOperatorNames[_this.vGrid.filterOperatorTranslationKeys[key]] = _this.attI18N(key) || _this.vGrid.filterOperatorNames[_this.vGrid.filterOperatorTranslationKeys[key]];
}
_this.contextMenu.updateMenuStrings(key, _this.attI18N(key));
});
Expand Down
5 changes: 3 additions & 2 deletions dist/es2015/grid/rowScrollEvents.js
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,9 @@ define(["require", "exports"], function (require, exports) {
};
var setBefore = function (no) {
var row = _this.rowCache[no];
_this.setRowHeight(row, currentRow);
firstRowTop = firstRowTop - rowHeightState.rows[currentRow];
firstRow--;
firstRowTop = firstRowTop - rowHeightState.rows[firstRow];
_this.setRowHeight(row, rowHeightState.top[firstRow]);
_this.setRowTopValueVariableRowHeight(row, firstRowTop);
};
var setHiddenFromView = function (no) {
Expand Down
2 changes: 1 addition & 1 deletion dist/system/grid/contextMenu.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/system/grid/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ System.register([], function (exports_1, context_1) {
if (this.attI18N) {
keys.forEach(function (key) {
if (_this.vGrid.filterOperatorTranslationKeys[key]) {
_this.vGrid.filterOperatorNames[_this.vGrid.filterOperatorTranslationKeys[key]] = _this.attI18N(key);
_this.vGrid.filterOperatorNames[_this.vGrid.filterOperatorTranslationKeys[key]] = _this.attI18N(key) || _this.vGrid.filterOperatorNames[_this.vGrid.filterOperatorTranslationKeys[key]];
}
_this.contextMenu.updateMenuStrings(key, _this.attI18N(key));
});
Expand Down
5 changes: 3 additions & 2 deletions dist/system/grid/rowScrollEvents.js
Original file line number Diff line number Diff line change
Expand Up @@ -278,8 +278,9 @@ System.register([], function (exports_1, context_1) {
};
var setBefore = function (no) {
var row = _this.rowCache[no];
_this.setRowHeight(row, currentRow);
firstRowTop = firstRowTop - rowHeightState.rows[currentRow];
firstRow--;
firstRowTop = firstRowTop - rowHeightState.rows[firstRow];
_this.setRowHeight(row, rowHeightState.top[firstRow]);
_this.setRowTopValueVariableRowHeight(row, firstRowTop);
};
var setHiddenFromView = function (no) {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "aurelia-v-grid",
"version": "1.0.0-beta.0.0.75",
"version": "1.0.0-beta.0.0.76",
"description": "Aurelia-v-grid",
"keywords": [
"aurelia",
Expand Down

0 comments on commit 4987a3a

Please sign in to comment.