Skip to content
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: handle null input #11

Merged
merged 2 commits into from Apr 22, 2018
Merged

fix: handle null input #11

merged 2 commits into from Apr 22, 2018

Conversation

imcvampire
Copy link
Owner

No description provided.

vue-truncate.js Outdated
@@ -13,6 +13,7 @@
*/

Vue.filter('truncate', function (text, length, clamp) {
text = text || ''

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Missing semicolon.

@imcvampire imcvampire merged commit a22d65d into master Apr 22, 2018
@imcvampire imcvampire deleted the fix-null branch April 22, 2018 18:54
@imcvampire imcvampire mentioned this pull request Apr 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants