-
Notifications
You must be signed in to change notification settings - Fork 11
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
Ilya Radchenko
committed
Aug 14, 2018
1 parent
3c75080
commit d2cd853
Showing
14 changed files
with
3,960 additions
and
346 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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Strider Editor/IDE Settings | ||
# This file is used to promote consistent source code standards | ||
# amongst all Strider-CD contributors. | ||
# More information can be found here: http://editorconfig.org/ | ||
|
||
# General Settings | ||
root = true | ||
|
||
# Settings for all files | ||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
|
||
[*.hbs] | ||
insert_final_newline = false | ||
|
||
[*.{diff,md}] | ||
trim_trailing_whitespace = 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
module.exports = { | ||
parserOptions: { | ||
ecmaVersion: 6, | ||
sourceType: 'script' | ||
}, | ||
env: { | ||
node: true, | ||
es6: true | ||
}, | ||
extends: 'eslint:recommended', | ||
rules: { | ||
indent: [2, 2], | ||
quotes: [2, 'single'], | ||
semi: [2, 'always'], | ||
strict: [2, 'global'], | ||
noConsole: 0, | ||
noUnderscoreDangle: 0, | ||
noConstantCondition: 0 | ||
} | ||
}; |
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,11 +1,12 @@ | ||
'use strict'; | ||
|
||
module.exports = { | ||
webapp: webapp | ||
} | ||
}; | ||
|
||
function webapp(id, plugin, striderjson, context, done) { | ||
if ('function' !== typeof plugin) { | ||
throw new Error('Invalid basic plugin: ' + id + ' ' + plugin) | ||
throw new Error('Invalid basic plugin: ' + id + ' ' + plugin); | ||
} | ||
plugin(context, done) | ||
plugin(context, done); | ||
} |
Oops, something went wrong.