-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(all): add keywords, reduce size, export modules #137
Conversation
@Younkue I am going to check it 1 hours later If you don't mind. (I'm supporting service now .. ) |
@Younkue LGTM, I like your changes. |
👍 LGTM |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
nits : remove repeat code
src/ItemManager.js
Outdated
} else { | ||
return ItemManager.pluck(this._data, property); | ||
} | ||
const data = typeof start === "undefined" ? this._data : this._data.slice(start, (typeof end === "undefined" ? start : end) + 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that It repeat same code that undefined check if condition.
src/ItemManager.js
Outdated
return this._data.slice(start, start + 1); | ||
} | ||
} else { | ||
if (typeof start === "undefined") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undefined check if condition.
src/ItemManager.js
Outdated
return this._data.concat(); | ||
} | ||
return this._data.slice(start, (typeof end === "undefined" ? start : end) + 1); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
undefined check if condition.
Issue
All #130
JustifiedLayout.js #122
package.json #136
index.js, index.umd.js #132
Details