From d59237827e0458e1248fb0aae63c79381215c3e4 Mon Sep 17 00:00:00 2001 From: radenska Date: Thu, 16 Feb 2017 14:00:23 -0800 Subject: [PATCH] set up basic structure and files --- bitmap-teamName/.eslintrc | 21 ++++ bitmap-teamName/.gitignore | 117 ++++++++++++++++++ bitmap-teamName/README.md | 0 bitmap-teamName/gulpfile.js | 20 +++ bitmap-teamName/img/palette-bitmap.bmp | Bin 0 -> 11078 bytes bitmap-teamName/index.js | 0 bitmap-teamName/lib/bmp-file-helper.js | 0 bitmap-teamName/model/bmp-constructor.js | 0 bitmap-teamName/model/color-constructor.js | 0 bitmap-teamName/test/bmp-constructor-test.js | 0 bitmap-teamName/test/bmp-file-helper-test.js | 0 .../test/color-constructor-test.js | 0 12 files changed, 158 insertions(+) create mode 100644 bitmap-teamName/.eslintrc create mode 100644 bitmap-teamName/.gitignore create mode 100644 bitmap-teamName/README.md create mode 100644 bitmap-teamName/gulpfile.js create mode 100644 bitmap-teamName/img/palette-bitmap.bmp create mode 100644 bitmap-teamName/index.js create mode 100644 bitmap-teamName/lib/bmp-file-helper.js create mode 100644 bitmap-teamName/model/bmp-constructor.js create mode 100644 bitmap-teamName/model/color-constructor.js create mode 100644 bitmap-teamName/test/bmp-constructor-test.js create mode 100644 bitmap-teamName/test/bmp-file-helper-test.js create mode 100644 bitmap-teamName/test/color-constructor-test.js diff --git a/bitmap-teamName/.eslintrc b/bitmap-teamName/.eslintrc new file mode 100644 index 0000000..8dc6807 --- /dev/null +++ b/bitmap-teamName/.eslintrc @@ -0,0 +1,21 @@ +{ + "rules": { + "no-console": "off", + "indent": [ "error", 2 ], + "quotes": [ "error", "single" ], + "semi": ["error", "always"], + "linebreak-style": [ "error", "unix" ] + }, + "env": { + "es6": true, + "node": true, + "mocha": true, + "jasmine": true + }, + "ecmaFeatures": { + "modules": true, + "experimentalObjectRestSpread": true, + "impliedStrict": true + }, + "extends": "eslint:recommended" +} diff --git a/bitmap-teamName/.gitignore b/bitmap-teamName/.gitignore new file mode 100644 index 0000000..0992345 --- /dev/null +++ b/bitmap-teamName/.gitignore @@ -0,0 +1,117 @@ +# Created by https://www.gitignore.io/api/node,vim,osx,macos,linux + +*node_modules + +### Node ### +# Logs +logs +*.log +npm-debug.log* + +# Runtime data +pids +*.pid +*.seed +*.pid.lock + +# Directory for instrumented libs generated by jscoverage/JSCover +lib-cov + +# Coverage directory used by tools like istanbul +coverage + +# nyc test coverage +.nyc_output + +# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) +.grunt + +# node-waf configuration +.lock-wscript + +# Compiled binary addons (http://nodejs.org/api/addons.html) +build/Release + +# Dependency directories +node_modules +jspm_packages + +# Optional npm cache directory +.npm + +# Optional eslint cache +.eslintcache + +# Optional REPL history +.node_repl_history + +# Output of 'npm pack' +*.tgz + +# Yarn Integrity file +.yarn-integrity + + + +### Vim ### +# swap +[._]*.s[a-v][a-z] +[._]*.sw[a-p] +[._]s[a-v][a-z] +[._]sw[a-p] +# session +Session.vim +# temporary +.netrwhist +*~ +# auto-generated tag files +tags + + +### OSX ### +*.DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon +# Thumbnails +._* +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk + + +### macOS ### +# Icon must end with two \r +# Thumbnails +# Files that might appear in the root of a volume +# Directories potentially created on remote AFP share + + +### Linux ### + +# temporary files which can be created if a process still has a handle open of a deleted file +.fuse_hidden* + +# KDE directory preferences +.directory + +# Linux trash folder which might appear on any partition or disk +.Trash-* + +# .nfs files are created when an open file is removed but is still being accessed +.nfs* + +# End of https://www.gitignore.io/api/node,vim,osx,macos,linux diff --git a/bitmap-teamName/README.md b/bitmap-teamName/README.md new file mode 100644 index 0000000..e69de29 diff --git a/bitmap-teamName/gulpfile.js b/bitmap-teamName/gulpfile.js new file mode 100644 index 0000000..9da355a --- /dev/null +++ b/bitmap-teamName/gulpfile.js @@ -0,0 +1,20 @@ +'use strict'; + +const gulp = require('gulp'); +const eslint = require('gulp-eslint'); +const mocha = require('gulp-mocha'); + +gulp.task('test', function() { + gulp.src('./test/*-test.js', { read: false }) + .pipe(mocha({ reporter: 'spec' })); +}); + +gulp.task('lint', function() { + return gulp.src(['./**/*.js', '!node_modules/**']).pipe(eslint()).pipe(eslint.format()).pipe(eslint.failAfterError()); +}); + +gulp.task('dev', function() { + gulp.watch(['**/*.js', '!node_modules/**'], ['lint', 'test']); +}); + +gulp.task('default', ['dev']); diff --git a/bitmap-teamName/img/palette-bitmap.bmp b/bitmap-teamName/img/palette-bitmap.bmp new file mode 100644 index 0000000000000000000000000000000000000000..97ad0df321f8762c0bf9a7c50cf2f2177a19bd46 GIT binary patch literal 11078 zcmeI1vCC~o6~!lD;l%@2EN*oR5z&B!&xb^Ufj~eDgCHp)VxbTT97mSQczLIiCsY!#mCx7OZs=G^bgdv-Q&-u>pxnR8~Xz1E(YbMAeweD%wp z87?n;XpHC8`cC~lH$LqCkA8ZLk9{P6<2iNlr}Fuae`37!{Flb(UVL+W@%4Adr@r^s z@#e4IAHV#=KgSFI`uF(SKYlSD{Ql8+`)6MmpMC4q@yS!hAq{NKtMyECSXr0vd5;0VB$56kII6NMl(l} zu=~|5_d8w^(ps+L1T9KL2FuQ~x5EBG3g9jlMR3|GA_0PmIj57{g2q7PB{WWvyN!@+ zYxoXmT@&7Cx_muj4(UE=N}+|Cvyp_a2{D~XQfagy3Oa{&DQ82_YC(Y*gC~5OL{m(+ zz{QbhkAOQDnO0%(jI+EKM<_%xl_)8mRLMZ|R6Y{F>irYU+nNyM)LC=NEHF^CJPL~3 zWCd32-H$;kgm#O%oVS+Kc{?fbGHinhQ7}n@@t|v9jx+x#Ax1M97sg589P}AUCL;n> ztwL>o){#4I>O)etU?@=G3l?Oit&Y7GNroKq zyr5NOK|M<0E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Xk?${~7BvF0 zzT+muVwgBgqeDnsi%Axu6F2ckO7yc*km|ssFr8|_PGovfL`9KRZ ziygp4amy-wsz{D=Q;-o>;0IIS5a4`QZ3@jR?^>!nlkJ|I)|oP5<7vuP znMall?=Rsvgb>fG1nhi3gAB9v=BUY)?J?;gPZpIrF*5_qVs~iCBiEoK!Vf2-CnT1+k!q#}}jR4`Dm2$gsdvgsvRj0zm|{KI+ui(#}diBc?X>kQOc^kifi z)-Cf+!PYo7ZL{Ey`Y?{$=B)*rL%TNd)$sDyalMg=bz3r#8`;y&VL+8nMua(gBJgl& zZDTyQ~2i5&|3Fy{Xe=h$87~rCw literal 0 HcmV?d00001 diff --git a/bitmap-teamName/index.js b/bitmap-teamName/index.js new file mode 100644 index 0000000..e69de29 diff --git a/bitmap-teamName/lib/bmp-file-helper.js b/bitmap-teamName/lib/bmp-file-helper.js new file mode 100644 index 0000000..e69de29 diff --git a/bitmap-teamName/model/bmp-constructor.js b/bitmap-teamName/model/bmp-constructor.js new file mode 100644 index 0000000..e69de29 diff --git a/bitmap-teamName/model/color-constructor.js b/bitmap-teamName/model/color-constructor.js new file mode 100644 index 0000000..e69de29 diff --git a/bitmap-teamName/test/bmp-constructor-test.js b/bitmap-teamName/test/bmp-constructor-test.js new file mode 100644 index 0000000..e69de29 diff --git a/bitmap-teamName/test/bmp-file-helper-test.js b/bitmap-teamName/test/bmp-file-helper-test.js new file mode 100644 index 0000000..e69de29 diff --git a/bitmap-teamName/test/color-constructor-test.js b/bitmap-teamName/test/color-constructor-test.js new file mode 100644 index 0000000..e69de29