Skip to content

Commit

Permalink
fix(build): rm es6 from client (#1476)
Browse files Browse the repository at this point in the history
This commit removes es6 code from the stock client and allows gulp to
build a minified version of the application.
  • Loading branch information
jniles authored Apr 7, 2017
1 parent 15ee7fd commit d6ecaf7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion client/src/partials/stock/entry/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ function StockEntryController(Depots, Inventory, Notify,
// ============================ Inventories ==========================
function loadInventories() {
Inventory.read()
.then((inventories) => {
.then(function (inventories) {
vm.inventories = inventories;
inventoryStore = new Store({ identifier: 'uuid', data: inventories });
})
Expand Down
2 changes: 1 addition & 1 deletion client/src/partials/stock/movements/registry.js
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ function StockMovementsController(Stock, Notify,

vm.loading = true;

Stock.movements.read(null, params).then((rows) => {
Stock.movements.read(null, params).then(function (rows) {
vm.loading = false;

// set flux name
Expand Down

0 comments on commit d6ecaf7

Please sign in to comment.