Permalink
Browse files

restructured completely, further work on crafting

  • Loading branch information...
Zertuk committed Aug 19, 2015
1 parent e66e82b commit fcca71d94a5f47d7f1159e96f028f266d32d4806
Showing with 3,335 additions and 5,453 deletions.
  1. +4 −1 .bowerrc
  2. +2 −11 .editorconfig
  3. +0 −1 .gitattributes
  4. +6 −4 .gitignore
  5. +74 −0 .jscsrc
  6. +58 −21 .jshintrc
  7. +0 −6 .travis.yml
  8. +0 −403 Gruntfile.js
  9. +268 −0 README.md
  10. +0 −1 app/.buildignore
  11. +0 −543 app/.htaccess
  12. +0 −157 app/404.html
  13. +0 −7 app/ASCII TABLE OF CONTENTS.txt
  14. +0 −73 app/ascii.txt
  15. BIN app/favicon.ico
  16. BIN app/images/yeoman.png
  17. +0 −93 app/index.html
  18. +0 −3 app/robots.txt
  19. +0 −53 app/scripts/app.js
  20. +0 −17 app/scripts/controllers/about.js
  21. +0 −265 app/scripts/controllers/main.js
  22. +0 −60 app/scripts/fov.js
  23. +0 −177 app/scripts/main.js
  24. BIN app/scripts/unicodetiles/DejaVuSansMono.eot
  25. BIN app/scripts/unicodetiles/DejaVuSansMono.ttf
  26. BIN app/scripts/unicodetiles/DejaVuSansMono.woff
  27. +0 −234 app/scripts/unicodetiles/input.js
  28. +0 −27 app/scripts/unicodetiles/unicodetiles.css
  29. +0 −510 app/scripts/unicodetiles/unicodetiles.js
  30. +0 −75 app/scripts/unicodetiles/ut.CanvasRenderer.js
  31. +0 −80 app/scripts/unicodetiles/ut.DOMRenderer.js
  32. +0 −327 app/scripts/unicodetiles/ut.WebGLRenderer.js
  33. +0 −264 app/styles/main.css
  34. +0 −427 app/styles/normalize.css
  35. +0 −418 app/styles/skeleton.css
  36. +0 −1 app/views/about.html
  37. +0 −59 app/views/battle.html
  38. +0 −2 app/views/inventory.html
  39. +0 −3 app/views/level.html
  40. +0 −7 app/views/main.html
  41. +0 −12 app/views/shop.html
  42. +0 −3 app/views/title.html
  43. +39 −19 bower.json
  44. +0 −9 firebase.json
  45. +174 −0 gulp.config.js
  46. BIN gulp.png
  47. +688 −0 gulpfile.js
  48. +59 −0 karma.conf.js
  49. +0 −427 new/css/normalize.css
  50. +0 −418 new/css/skeleton.css
  51. BIN new/images/favicon.png
  52. +0 −46 new/index.html
  53. +73 −34 package.json
  54. +20 −0 src/client/app/admin/admin.controller.js
  55. +32 −0 src/client/app/admin/admin.controller.spec.js
  56. +17 −0 src/client/app/admin/admin.html
  57. +9 −0 src/client/app/admin/admin.module.js
  58. +32 −0 src/client/app/admin/admin.route.js
  59. +29 −0 src/client/app/admin/admin.route.spec.js
  60. +12 −0 src/client/app/app.module.js
  61. +68 −0 src/client/app/blocks/exception/exception-handler.provider.js
  62. +70 −0 src/client/app/blocks/exception/exception-handler.provider.spec.js
  63. +29 −0 src/client/app/blocks/exception/exception.js
  64. +5 −0 src/client/app/blocks/exception/exception.module.js
  65. +47 −0 src/client/app/blocks/logger/logger.js
  66. +5 −0 src/client/app/blocks/logger/logger.module.js
  67. +101 −0 src/client/app/blocks/router/router-helper.provider.js
  68. +8 −0 src/client/app/blocks/router/router.module.js
  69. +33 −0 src/client/app/core/404.html
  70. +34 −0 src/client/app/core/config.js
  71. +9 −0 src/client/app/core/constants.js
  72. +10 −0 src/client/app/core/core.module.js
  73. +26 −0 src/client/app/core/core.route.js
  74. +30 −0 src/client/app/core/core.route.spec.js
  75. +34 −0 src/client/app/core/dataservice.js
  76. +43 −0 src/client/app/dashboard/dashboard.controller.js
  77. +46 −0 src/client/app/dashboard/dashboard.controller.spec.js
  78. +71 −0 src/client/app/dashboard/dashboard.html
  79. +8 −0 src/client/app/dashboard/dashboard.module.js
  80. +32 −0 src/client/app/dashboard/dashboard.route.js
  81. +31 −0 src/client/app/dashboard/dashboard.route.spec.js
  82. +113 −0 src/client/app/inventory/inventory.controller.js
  83. +3 −0 src/client/app/inventory/inventory.html
  84. +6 −0 src/client/app/inventory/inventory.module.js
  85. +28 −0 src/client/app/inventory/inventory.route.js
  86. +44 −0 src/client/app/layout/ht-sidebar.directive.js
  87. +146 −0 src/client/app/layout/ht-sidebar.directive.spec.js
  88. +28 −0 src/client/app/layout/ht-top-nav.directive.js
  89. +31 −0 src/client/app/layout/ht-top-nav.html
  90. +5 −0 src/client/app/layout/layout.module.js
  91. +35 −0 src/client/app/layout/shell.controller.js
  92. +34 −0 src/client/app/layout/shell.controller.spec.js
  93. +7 −0 src/client/app/layout/shell.html
  94. +35 −0 src/client/app/layout/sidebar.controller.js
  95. +39 −0 src/client/app/layout/sidebar.controller.spec.js
  96. +16 −0 src/client/app/layout/sidebar.html
  97. +28 −0 src/client/app/widgets/ht-img-person.directive.js
  98. +28 −0 src/client/app/widgets/ht-widget-header.directive.js
  99. +7 −0 src/client/app/widgets/widget-header.html
  100. +5 −0 src/client/app/widgets/widgets.module.js
  101. BIN src/client/images/AngularJS-small.png
  102. BIN src/client/images/busy.gif
  103. BIN src/client/images/gulp-tiny.png
  104. BIN src/client/images/icon.png
  105. +85 −0 src/client/index.html
  106. +64 −0 src/client/specs.html
  107. +23 −0 src/client/styles/styles.less
  108. +31 −0 src/client/test-helpers/bind-polyfill.js
  109. +36 −0 src/client/test-helpers/mock-data.js
  110. +55 −0 src/server/app.js
  111. +16 −0 src/server/data.js
  112. BIN src/server/favicon.ico
  113. +28 −0 src/server/routes.js
  114. +23 −0 src/server/utils/404.js
  115. +0 −36 test/.jshintrc
  116. +0 −75 test/karma.conf.js
  117. +0 −22 test/spec/controllers/about.js
  118. +0 −22 test/spec/controllers/main.js
View
@@ -1,3 +1,6 @@
{
- "directory": "bower_components"
+ "directory": "bower_components",
+ "scripts": {
+ "postinstall": "gulp wiredep"
+ }
}
View
@@ -1,18 +1,9 @@
-# EditorConfig helps developers define and maintain consistent
-# coding styles between different editors and IDEs
-# editorconfig.org
-
+# http://editorconfig.org
root = true
-
[*]
-
-# Change these settings to your own preference
indent_style = space
-indent_size = 2
-
-# We recommend you to keep these unchanged
-end_of_line = lf
+indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
View
@@ -1 +0,0 @@
-* text=auto
View
@@ -1,5 +1,7 @@
-node_modules
-dist
+# Dependency directory
+# https://docs.npmjs.com/misc/faq#should-i-check-my-node-modules-folder-into-git
+node_modules/
+bower_components/
+
+# other
.tmp
-.sass-cache
-bower_components
View
74 .jscsrc
@@ -0,0 +1,74 @@
+{
+ "excludeFiles": ["node_modules/**", "bower_components/**"],
+
+ "requireCurlyBraces": [
+ "if",
+ "else",
+ "for",
+ "while",
+ "do",
+ "try",
+ "catch"
+ ],
+ "requireOperatorBeforeLineBreak": true,
+ "requireCamelCaseOrUpperCaseIdentifiers": true,
+ "maximumLineLength": {
+ "value": 100,
+ "allowComments": true,
+ "allowRegex": true
+ },
+ "validateIndentation": 4,
+ "validateQuoteMarks": "'",
+
+ "disallowMultipleLineStrings": true,
+ "disallowMixedSpacesAndTabs": true,
+ "disallowTrailingWhitespace": true,
+ "disallowSpaceAfterPrefixUnaryOperators": true,
+ "disallowMultipleVarDecl": null,
+
+ "requireSpaceAfterKeywords": [
+ "if",
+ "else",
+ "for",
+ "while",
+ "do",
+ "switch",
+ "return",
+ "try",
+ "catch"
+ ],
+ "requireSpaceBeforeBinaryOperators": [
+ "=", "+=", "-=", "*=", "/=", "%=", "<<=", ">>=", ">>>=",
+ "&=", "|=", "^=", "+=",
+
+ "+", "-", "*", "/", "%", "<<", ">>", ">>>", "&",
+ "|", "^", "&&", "||", "===", "==", ">=",
+ "<=", "<", ">", "!=", "!=="
+ ],
+ "requireSpaceAfterBinaryOperators": true,
+ "requireSpacesInConditionalExpression": true,
+ "requireSpaceBeforeBlockStatements": true,
+ "requireLineFeedAtFileEnd": true,
+ "disallowSpacesInsideObjectBrackets": "all",
+ "disallowSpacesInsideArrayBrackets": "all",
+ "disallowSpacesInsideParentheses": true,
+
+ "jsDoc": {
+ "checkAnnotations": true,
+ "checkParamNames": true,
+ "requireParamTypes": true,
+ "checkReturnTypes": true,
+ "checkTypes": true
+ },
+
+ "disallowMultipleLineBreaks": true,
+
+ "disallowCommaBeforeLineBreak": null,
+ "disallowDanglingUnderscores": null,
+ "disallowEmptyBlocks": null,
+ "disallowTrailingComma": null,
+ "requireCommaBeforeLineBreak": null,
+ "requireDotNotation": null,
+ "requireMultipleVarDecl": null,
+ "requireParenthesesAroundIIFE": true
+}
View
@@ -1,23 +1,60 @@
{
- "node": true,
- "browser": true,
- "esnext": true,
- "bitwise": true,
- "camelcase": true,
- "curly": true,
- "eqeqeq": true,
- "immed": true,
- "indent": 2,
- "latedef": true,
- "newcap": true,
- "noarg": true,
- "quotmark": "single",
- "undef": true,
- "unused": true,
- "strict": true,
- "trailing": true,
- "smarttabs": true,
- "globals": {
- "angular": false
- }
+ "bitwise": true,
+ "camelcase": true,
+ "curly": true,
+ "eqeqeq": true,
+ "es3": false,
+ "forin": true,
+ "freeze": true,
+ "immed": true,
+ "indent": 4,
+ "latedef": "nofunc",
+ "newcap": true,
+ "noarg": true,
+ "noempty": true,
+ "nonbsp": true,
+ "nonew": true,
+ "plusplus": false,
+ "quotmark": "single",
+ "undef": true,
+ "unused": false,
+ "strict": false,
+ "maxparams": 10,
+ "maxdepth": 5,
+ "maxstatements": 40,
+ "maxcomplexity": 8,
+ "maxlen": 120,
+
+ "asi": false,
+ "boss": false,
+ "debug": false,
+ "eqnull": true,
+ "esnext": false,
+ "evil": false,
+ "expr": false,
+ "funcscope": false,
+ "globalstrict": false,
+ "iterator": false,
+ "lastsemic": false,
+ "laxbreak": false,
+ "laxcomma": false,
+ "loopfunc": true,
+ "maxerr": 50,
+ "moz": false,
+ "multistr": false,
+ "notypeof": false,
+ "proto": false,
+ "scripturl": false,
+ "shadow": false,
+ "sub": true,
+ "supernew": false,
+ "validthis": false,
+ "noyield": false,
+
+ "browser": true,
+ "node": true,
+
+ "globals": {
+ "angular": false
+ }
}
View
@@ -1,6 +0,0 @@
-language: node_js
-node_js:
- - '0.10'
-before_script:
- - 'npm install -g bower grunt-cli'
- - 'bower install'
Oops, something went wrong.

0 comments on commit fcca71d

Please sign in to comment.