forked from OpenNTF/dojo-webpack-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adoption in Readme.md, eslint in .eslintignore instead of manual modification after generation of files special value for German language and test against, correct behavior for return / AMD module exports
- Loading branch information
1 parent
4185189
commit 6bcf9e6
Showing
7 changed files
with
14 additions
and
15 deletions.
There are no files selected for viewing
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,4 +1,6 @@ | ||
node/** | ||
node_modules/** | ||
test/js/** | ||
test/TestCases/loaders/i18nTypeScriptModules/nls/** | ||
coverage/** | ||
|
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
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,5 +1,5 @@ | ||
define(["dojo/i18n!./nls/strings", "./nls/de-at/strings"], function(strings) { | ||
it("should load the strings if generated with typescript (require, exports)", function() { | ||
strings.hello.should.be.eql("xyz"); | ||
strings.hello.should.be.eql("xyz-de"); | ||
}); | ||
}); |
3 changes: 1 addition & 2 deletions
3
test/TestCases/loaders/i18nTypeScriptModules/nls/de-at/strings.js
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,7 +1,6 @@ | ||
// eslint-disable-next-line no-unused-vars | ||
define(["require", "exports"], function (require, exports) { | ||
"use strict"; | ||
return { | ||
hello: 'xyz' | ||
hello: 'xyz-de' | ||
}; | ||
}); |
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
2 changes: 1 addition & 1 deletion
2
test/TestCases/loaders/i18nTypeScriptModules/ts-base/de-at/strings.ts
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,3 +1,3 @@ | ||
export = { | ||
hello : 'xyz' | ||
hello : 'xyz-de' | ||
} |