Created
March 8, 2010 22:34
-
-
Save anekos/325867 to your computer and use it in GitHub Desktop.
vimpのstylesディレクトリから *.css をロード
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
io.getRuntimeDirectories('styles').forEach(function (dir) { | |
dir.readDirectory().forEach(function (file) { | |
if (file.exists() && file.isFile() && /\.css$/.test(file.path)) | |
io.source(file.path); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment