If .DS_Store was never added to your git repository, simply add it to your .gitignore file.
.gitignore
In your the root directory of your app and simply write
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| Result: 1 | |
| Items { | |
| TemplateId: "BADGE_BATTLE_ATTACK_WON" | |
| Badge { | |
| BadgeType: BADGE_BATTLE_ATTACK_WON | |
| BadgeRanks: 4 | |
| Targets: "\nd\350\007" | |
| } | |
| } | |
| Items { |
| function textHeight(text, maxWidth) { | |
| var words = text.split(' '); | |
| var line = ''; | |
| var h = this._textLeading; | |
| for (var i = 0; i < words.length; i++) { | |
| var testLine = line + words[i] + ' '; | |
| var testWidth = drawingContext.measureText(testLine).width; | |
| if (testWidth > maxWidth && i > 0) { |
| // hasClass, takes two params: element and classname | |
| function hasClass(el, cls) { | |
| return el.className && new RegExp("(\\s|^)" + cls + "(\\s|$)").test(el.className); | |
| } | |
| /* use like below */ | |
| // Check if an element has class "foo" | |
| if (hasClass(element, "foo")) { |
Attention: the list was moved to
https://github.com/dypsilon/frontend-dev-bookmarks
This page is not maintained anymore, please update your bookmarks.
| { | |
| "USD": { | |
| "symbol": "$", | |
| "name": "US Dollar", | |
| "symbol_native": "$", | |
| "decimal_digits": 2, | |
| "rounding": 0, | |
| "code": "USD", | |
| "name_plural": "US dollars" | |
| }, |