Created
June 1, 2017 08:56
-
-
Save rchaser53/39a2cdb70d97c09b7d136d8aca73dd81 to your computer and use it in GitHub Desktop.
redux-towerに使えるかな?
This file contains hidden or 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
// redux-towerに使えるかな? | |
function interested(filename: string): boolean { | |
return filename.slice(filename.lastIndexOf('.')) === ".vue"; | |
} | |
function importInterested(filename: string): boolean { | |
return interested(filename) && filename.slice(0, 2) === "./"; | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
冷静に考えて何も変わらなかった