Skip to content

Commit c338666

Browse files
author
Richard Feldman
committed
Consistently call things 'styles'
1 parent 1ad69b1 commit c338666

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ module.exports = function(
8787
return Promise.all(
8888
[writeMain(mainFilename, modules)].concat(
8989
modules.map(function(modul) {
90-
return writeFile(path.join(generatedDir, "classes"), modul);
90+
return writeFile(path.join(generatedDir, "styles"), modul);
9191
})
9292
)
9393
).then(function() {

js/generate-class-modules.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ function moduleHeader(moduleName /*: string */) {
4444
return (
4545
"module " +
4646
moduleName +
47-
".Css exposing (..)\n\n" +
47+
".Styles exposing (..)\n\n" +
4848
"{-| This file was generated by the elm-css binary. Don't edit it, because it will be overwritten!\n-}\n\n" +
4949
"import Html\nimport Html.Attributes\n\n\n"
5050
);
@@ -71,7 +71,7 @@ function writeFile(
7171
mkdirp(directory, function(dirError) {
7272
if (dirError) return reject(dirError);
7373

74-
const filename = path.join(directory, "Css.elm");
74+
const filename = path.join(directory, "Styles.elm");
7575
fs.writeFile(filename, generateModule(modul), function(fileError) {
7676
if (fileError) return reject(fileError);
7777

0 commit comments

Comments
 (0)