Skip to content

Commit

Permalink
1.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitrii-fediuk committed Jun 4, 2019
1 parent 973dc9b commit 3949dbf
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ bin/magento cache:enable
## How to upgrade
```
bin/magento maintenance:enable
rm -rf composer.lock
composer clear-cache
composer update thesuitdepot/core
bin/magento setup:upgrade
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "thesuitdepot/core"
,"version": "0.0.2"
,"version": "1.0.0"
,"description": "A custom module for thesuitdepot.com"
,"type": "magento2-module"
,"homepage": "https://github.com/thesuitdepot/core"
Expand All @@ -13,4 +13,4 @@
}]
,"autoload": {"files": ["registration.php"], "psr-4": {"TheSuitDepot\\Core\\": ""}}
,"keywords": ["Magento 2"]
}
}
20 changes: 10 additions & 10 deletions view/frontend/web/address.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
define([
'df-lodash', 'jquery', 'mage/utils/wrapper'
], function(_, $, w) {'use strict';
return function(sb) {
$.extend(sb, {
initialize: w.wrap(sb.initialize, function(_super, d) {
return _super();
})
});
return sb;};});
define([], function($, w) {'use strict'; return function(sb) {return sb.extend({
initialize: function() {
this._super();
if (this.isNew()) {
this.setData('country_id', 'US');
this.setData('region', {region: 'Michigan', region_id: 33, region_code: 'MI'});
}
return this;
}
});};});

0 comments on commit 3949dbf

Please sign in to comment.