-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7edc7fb
commit 123fb21
Showing
5 changed files
with
55 additions
and
20 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
# Changelog | ||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html). | ||
|
||
## 1.0.3 - 2017-11-18 | ||
|
||
### Added | ||
- Related keywords to [package.json](package.json) file to make the project more discoverable on [npm](https://www.npmjs.com/). | ||
- [CHANGELOG.md](CHANGELOG.md) file. | ||
- Acknowledge [PurpleBooth](https://github.com/PurpleBooth) for [this README template](https://gist.github.com/PurpleBooth/109311bb0361f32d87a2) in [README.md](README.md) file. | ||
|
||
### Changed | ||
- Converted tabs to four spaces in [_is-int.scss](_is-int.scss) file for better display online. | ||
|
||
### Removed | ||
- Unnecessary .gitignore file. | ||
- Unnecessary `main` and `scripts` keys from [package.json](package.json) file. | ||
|
||
## 1.0.2 - 2017-11-04 | ||
|
||
### Fixed | ||
- Broken links in [README.md](README.md) file. | ||
- Confusing phrasing in [README.md](README.md) file. | ||
|
||
## 1.0.1 - 2017-11-04 | ||
|
||
### Added | ||
- [README.md](README.md) file. | ||
|
||
## 1.0.0 - 2017-11-04 | ||
|
||
### Added | ||
- `is-int()` function. | ||
- [package.json](package.json) file for [npm](https://www.npmjs.com/). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
@function is-int($value) { | ||
@if type-of($value) != number { | ||
@warn '`#{$value}` is not a valid number!'; | ||
@return null; | ||
} | ||
@else { | ||
@if round($value) == $value { | ||
@return true; | ||
} | ||
@else { | ||
@return false; | ||
} | ||
} | ||
@if type-of($value) != number { | ||
@warn '`#{$value}` is not a valid number!'; | ||
@return null; | ||
} | ||
@else { | ||
@if round($value) == $value { | ||
@return true; | ||
} | ||
@else { | ||
@return false; | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters