Conversation
Inserito file per avviare localmente, file w-c-f copiati dagli analoghi, bottoni e modificato alcuni file
…/micropolisJS into prova1"" This reverts commit bef9a03.
Quix0r
left a comment
There was a problem hiding this comment.
Final remarks: What a large PR to review and I guess you included some "personal" changes.
| else if (dy === 2 && this.animated) | ||
| tileFlags |= Tile.ANIMBIT; | ||
| } | ||
| } |
| }); | ||
|
|
||
|
|
||
|
|
There was a problem hiding this comment.
Extra empty line. Is the convention here to have only one empty between code blocks?
| Budget.prototype.shouldDegradeField = function() { | ||
| return this.fieldEffect < Math.floor(15 * this.MAX_FIELD_EFFECT / 25); | ||
| }; | ||
|
|
There was a problem hiding this comment.
Extra empty line. Is the convention here to have only one empty between code blocks?
|
|
||
| if (this.fieldMaintenanceBudget > 0) | ||
| this.fieldEffect = Math.floor(this.fieldEffect * this.fieldSpend / this.fieldMaintenanceBudget); | ||
|
|
| fieldCost = cashRemaining; | ||
| cashRemaining -= fieldCost; | ||
|
|
||
|
|
There was a problem hiding this comment.
Extra empty line. Is the convention here to have only one empty between code blocks?
| </div> | ||
| </div> | ||
| <div id="tw" class="z1 rightedge initialHidden"> | ||
| <a class="twitter-share-button" href="https://twitter.com/share?count=none" data-text="I'm city-building like it's 1989! Playing micropolisJS, a HTML5 retro city-builder https://graememcc.github.io/micropolisJS">Tweet</a><script type="text/javascript">window.twttr=(function(d,s,id){var t,js,fjs=d.getElementsByTagName(s)[0];if(d.getElementById(id)){return}js=d.createElement(s);js.id=id;js.src="https://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);return window.twttr||(t={_e:[],ready:function(f){t._e.push(f)}})}(document,"script","twitter-wjs"));</script> |
There was a problem hiding this comment.
Is this wanted to remove link to author's website and Twitter/X account?
| </div> | ||
| </noscript> | ||
| </main> | ||
| <footer id="footer" class="alignCenter chunk white padding10"> |
There was a problem hiding this comment.
Same with this. Maybe you want to keep this out of pull requests and leave it in your personal clone? You can archive this by maintaining different branches. For example develop is your local code and for a PR you create a new branch based on "upstream" (this) repository.
Exexecute: git remote add upstream https://github.com/graememcc/micropolisJS.git to add it.
| <script defer src="thirdparty/jquery/jquery-2.1.1.min.js"></script> | ||
| </body> | ||
| </html> | ||
| <html><head><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8"><meta name="Robots" content="NOINDEX " /></head><body></body> |
There was a problem hiding this comment.
Second <html> tag is invalid! Please move this into existing <head> tag (without <html> of course).
| "scripts": { | ||
| "build": "webpack --env.production", | ||
| "watch": "webpack --watch --env.development", | ||
| "watch": "webpack --watch --env.production", |
There was a problem hiding this comment.
I wonder if this drastic change from development to production is proper?
| setCropCost(POTATO_COST); break; | ||
| } | ||
| }; | ||
|
|
No description provided.