----- o -----
111 |"Do not worry too much about your difficulties in mathematics, I can assure you that mine are still greater." - Albert Einstein.
112 |├── app ├── readMore.html ├── bower_components │ ├── html5-boilerplate │ │ ├── src │ │ │ ├── js │ │ │ │ ├── main.js │ │ │ │ └── plugins.js │ │ │ ├── img │ │ │ │ └── .gitignore │ │ │ ├── .gitattributes │ │ │ ├── robots.txt │ │ │ ├── tile.png │ │ │ ├── favicon.ico │ │ │ ├── tile-wide.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── .gitignore │ │ │ ├── .editorconfig │ │ │ ├── humans.txt │ │ │ ├── browserconfig.xml │ │ │ ├── crossdomain.xml │ │ │ ├── doc │ │ │ │ ├── TOC.md │ │ │ │ ├── js.md │ │ │ │ ├── faq.md │ │ │ │ ├── usage.md │ │ │ │ ├── css.md │ │ │ │ ├── misc.md │ │ │ │ └── html.md │ │ │ ├── 404.html │ │ │ ├── index.html │ │ │ └── css │ │ │ │ └── main.css │ │ ├── dist │ │ │ ├── img │ │ │ │ └── .gitignore │ │ │ ├── js │ │ │ │ ├── main.js │ │ │ │ └── plugins.js │ │ │ ├── .gitattributes │ │ │ ├── robots.txt │ │ │ ├── tile.png │ │ │ ├── favicon.ico │ │ │ ├── tile-wide.png │ │ │ ├── apple-touch-icon.png │ │ │ ├── .gitignore │ │ │ ├── .editorconfig │ │ │ ├── humans.txt │ │ │ ├── browserconfig.xml │ │ │ ├── crossdomain.xml │ │ │ ├── LICENSE.txt │ │ │ ├── doc │ │ │ │ ├── TOC.md │ │ │ │ ├── js.md │ │ │ │ ├── faq.md │ │ │ │ ├── usage.md │ │ │ │ ├── css.md │ │ │ │ ├── misc.md │ │ │ │ └── html.md │ │ │ ├── 404.html │ │ │ ├── index.html │ │ │ └── css │ │ │ │ ├── main.css │ │ │ │ └── normalize.css │ │ ├── .gitignore │ │ ├── .bower.json │ │ ├── .editorconfig │ │ ├── .jshintrc │ │ ├── .gitattributes │ │ ├── LICENSE.txt │ │ ├── package.json │ │ ├── .jscsrc │ │ ├── test │ │ │ ├── file_content.js │ │ │ └── file_existence.js │ │ ├── .travis.yml │ │ ├── README.md │ │ ├── gulpfile.js │ │ └── CONTRIBUTING.md │ ├── angular │ │ ├── index.js │ │ ├── angular.min.js.gzip │ │ ├── bower.json │ │ ├── angular-csp.css │ │ ├── .bower.json │ │ ├── package.json │ │ └── README.md │ ├── angular-mocks │ │ ├── ngMock.js │ │ ├── ngMockE2E.js │ │ ├── ngAnimateMock.js │ │ ├── bower.json │ │ ├── .bower.json │ │ ├── package.json │ │ └── README.md │ ├── angular-route │ │ ├── index.js │ │ ├── bower.json │ │ ├── .bower.json │ │ ├── package.json │ │ ├── README.md │ │ ├── angular-route.min.js │ │ └── angular-route.min.js.map │ └── angular-loader │ │ ├── bower.json │ │ ├── .bower.json │ │ ├── package.json │ │ ├── angular-loader.min.js │ │ ├── README.md │ │ └── angular-loader.min.js.map ├── views │ ├── about │ │ ├── about.html │ │ └── about.js │ ├── sat │ │ ├── sat.html │ │ └── sat.js │ ├── view2 │ │ ├── view2.html │ │ ├── view2.js │ │ └── view2_test.js │ ├── view3 │ │ ├── view3.html │ │ └── view3.js │ ├── cmath │ │ ├── algebra │ │ │ ├── algebra.html │ │ │ └── algebra.js │ │ ├── complex-variables │ │ │ └── complex-varibles.html │ │ ├── cmath.html │ │ └── cmath.js │ ├── not-taught │ │ ├── not-taught.html │ │ └── not-taught.js │ ├── sidestory │ │ ├── sidestory.html │ │ └── sidestory.js │ ├── view1 │ │ ├── view1.html │ │ ├── view1_test.js │ │ └── view1.js │ └── home │ │ ├── home.js │ │ ├── home_test.js │ │ └── home.html ├── public │ ├── images │ │ ├── fibo.jpg │ │ ├── khong.jpg │ │ ├── fibo-tiny.jpg │ │ └── home-page │ │ │ ├── MathHomeImage.png │ │ │ └── the-scale-of-the-universe-2.swf │ └── css │ │ └── app.css ├── components │ └── version │ │ ├── version.js │ │ ├── version-directive.js │ │ ├── interpolate-filter.js │ │ ├── version_test.js │ │ ├── interpolate-filter_test.js │ │ └── version-directive_test.js ├── app.js ├── index-async.html └── index.html ├── .gitignore ├── bower.json ├── karma.conf.js ├── LICENSE └── package.json /app/readMore.html: -------------------------------------------------------------------------------- 1 |
Home page views/about.
2 | -------------------------------------------------------------------------------- /app/views/sat/sat.html: -------------------------------------------------------------------------------- 1 | 2 |This is SAT - views/sat
3 | 4 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/.gitignore: -------------------------------------------------------------------------------- 1 | archive 2 | node_modules 3 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | -------------------------------------------------------------------------------- /app/views/view2/view2.html: -------------------------------------------------------------------------------- 1 |This is the partial for views/view 2.
2 | 3 | -------------------------------------------------------------------------------- /app/views/view3/view3.html: -------------------------------------------------------------------------------- 1 |This is the partial for views/view 3.
2 | 3 | -------------------------------------------------------------------------------- /app/views/cmath/algebra/algebra.html: -------------------------------------------------------------------------------- 1 |Home page views/cmath/algebra : algebra.html
-------------------------------------------------------------------------------- /app/bower_components/angular/index.js: -------------------------------------------------------------------------------- 1 | require('./angular'); 2 | module.exports = angular; 3 | -------------------------------------------------------------------------------- /app/views/not-taught/not-taught.html: -------------------------------------------------------------------------------- 1 | 2 |This is the partial for not-taught.
3 | 4 | -------------------------------------------------------------------------------- /app/views/sidestory/sidestory.html: -------------------------------------------------------------------------------- 1 | 2 |This is Side Story - views/sidestory
3 | 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | logs/* 2 | !.gitkeep 3 | node_modules/ 4 | bower_components/ 5 | tmp 6 | .DS_Store 7 | .idea 8 | -------------------------------------------------------------------------------- /app/bower_components/angular-mocks/ngMock.js: -------------------------------------------------------------------------------- 1 | require('./angular-mocks'); 2 | module.exports = 'ngMock'; 3 | -------------------------------------------------------------------------------- /app/bower_components/angular-route/index.js: -------------------------------------------------------------------------------- 1 | require('./angular-route'); 2 | module.exports = 'ngRoute'; 3 | -------------------------------------------------------------------------------- /app/public/images/fibo.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/public/images/fibo.jpg -------------------------------------------------------------------------------- /app/bower_components/angular-mocks/ngMockE2E.js: -------------------------------------------------------------------------------- 1 | require('./angular-mocks'); 2 | module.exports = 'ngMockE2E'; 3 | -------------------------------------------------------------------------------- /app/public/images/khong.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/public/images/khong.jpg -------------------------------------------------------------------------------- /app/public/images/fibo-tiny.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/public/images/fibo-tiny.jpg -------------------------------------------------------------------------------- /app/bower_components/angular-mocks/ngAnimateMock.js: -------------------------------------------------------------------------------- 1 | require('./angular-mocks'); 2 | module.exports = 'ngAnimateMock'; 3 | -------------------------------------------------------------------------------- /app/views/cmath/complex-variables/complex-varibles.html: -------------------------------------------------------------------------------- 1 |Home page views/cmath/complex-variables : complex-variables.html
-------------------------------------------------------------------------------- /app/public/images/home-page/MathHomeImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/public/images/home-page/MathHomeImage.png -------------------------------------------------------------------------------- /app/bower_components/angular/angular.min.js.gzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/angular/angular.min.js.gzip -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/robots.txt: -------------------------------------------------------------------------------- 1 | # www.robotstxt.org/ 2 | 3 | # Allow crawling of all content 4 | User-agent: * 5 | Disallow: 6 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/robots.txt: -------------------------------------------------------------------------------- 1 | # www.robotstxt.org/ 2 | 3 | # Allow crawling of all content 4 | User-agent: * 5 | Disallow: 6 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/src/tile.png -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/tile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/dist/tile.png -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/src/favicon.ico -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/dist/favicon.ico -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/tile-wide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/src/tile-wide.png -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/tile-wide.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/dist/tile-wide.png -------------------------------------------------------------------------------- /app/public/images/home-page/the-scale-of-the-universe-2.swf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/public/images/home-page/the-scale-of-the-universe-2.swf -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/dist/apple-touch-icon.png -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PyGoogle/epicmath/master/app/bower_components/html5-boilerplate/src/apple-touch-icon.png -------------------------------------------------------------------------------- /app/bower_components/angular/bower.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular", 3 | "version": "1.4.7", 4 | "main": "./angular.js", 5 | "ignore": [], 6 | "dependencies": { 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/.gitignore: -------------------------------------------------------------------------------- 1 | # Include your project-specific ignores in this file 2 | # Read about how to use .gitignore: https://help.github.com/articles/ignoring-files 3 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/dist/.gitignore: -------------------------------------------------------------------------------- 1 | # Include your project-specific ignores in this file 2 | # Read about how to use .gitignore: https://help.github.com/articles/ignoring-files 3 | -------------------------------------------------------------------------------- /app/components/version/version.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | angular.module('myApp.version', [ 4 | 'myApp.version.interpolate-filter', 5 | 'myApp.version.version-directive' 6 | ]) 7 | 8 | .value('version', '0.1'); 9 | -------------------------------------------------------------------------------- /app/views/cmath/cmath.html: -------------------------------------------------------------------------------- 1 |Home page views/cmath : cmath.html
2 | 3 | Algebra 4 |This is the partial for view 1.
3 | 4 | 5 | 6 |Sorry, but the page you were trying to view does not exist.
58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/src/404.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 |Sorry, but the page you were trying to view does not exist.
58 | 59 | 60 | 61 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "angular-seed", 3 | "private": true, 4 | "version": "0.0.0", 5 | "description": "A starter project for AngularJS", 6 | "repository": "https://github.com/angular/angular-seed", 7 | "license": "MIT", 8 | "devDependencies": { 9 | "bower": "^1.3.1", 10 | "http-server": "^0.6.1", 11 | "jasmine-core": "^2.3.4", 12 | "karma": "~0.12", 13 | "karma-chrome-launcher": "^0.1.12", 14 | "karma-firefox-launcher": "^0.1.6", 15 | "karma-jasmine": "^0.3.5", 16 | "karma-junit-reporter": "^0.2.2", 17 | "protractor": "^2.1.0", 18 | "shelljs": "^0.2.6" 19 | }, 20 | "scripts": { 21 | "postinstall": "bower install", 22 | 23 | "prestart": "npm install", 24 | "start": "http-server -a localhost -p 8002 -c-1", 25 | 26 | "pretest": "npm install", 27 | "test": "karma start karma.conf.js", 28 | "test-single-run": "karma start karma.conf.js --single-run", 29 | 30 | "preupdate-webdriver": "npm install", 31 | "update-webdriver": "webdriver-manager update", 32 | 33 | "preprotractor": "npm run update-webdriver", 34 | "protractor": "protractor e2e-tests/protractor.conf.js", 35 | 36 | "update-index-async": "node -e \"require('shelljs/global'); sed('-i', /\\/\\/@@NG_LOADER_START@@[\\s\\S]*\\/\\/@@NG_LOADER_END@@/, '//@@NG_LOADER_START@@\\n' + sed(/sourceMappingURL=angular-loader.min.js.map/,'sourceMappingURL=bower_components/angular-loader/angular-loader.min.js.map','app/bower_components/angular-loader/angular-loader.min.js') + '\\n//@@NG_LOADER_END@@', 'app/index-async.html');\"" 37 | } 38 | } 39 | -------------------------------------------------------------------------------- /app/bower_components/angular-loader/angular-loader.min.js: -------------------------------------------------------------------------------- 1 | /* 2 | AngularJS v1.4.7 3 | (c) 2010-2015 Google, Inc. http://angularjs.org 4 | License: MIT 5 | */ 6 | (function(){'use strict';function d(b){return function(){var a=arguments[0],e;e="["+(b?b+":":"")+a+"] http://errors.angularjs.org/1.4.7/"+(b?b+"/":"")+a;for(a=1;aHello world! This is HTML5 Boilerplate.
24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /app/views/home/home.html: -------------------------------------------------------------------------------- 1 |
7 | Math is everywhere.
13 | It is mostly about numbers: weight, size, money, etc.
14 | Let's think about the size (scale). The smallest scale for most of us is probably mm, and the largest scale in our daily life might be less than 100,000km.
16 | Actually, 17 | the smallest scale known to us is Planck length (lP) which is equal to 1.616199(97)x10−35 meters, and the biggest scale is observable universe which is 28.5 Gparsecs (93 billion light-years, 8.8×1026 metres or 5.5×1023 miles).
18 |In our everyday life, there are quite a few intersting numbers such as Fibonacci and weird ones such as imaginary numbers.
19 | 20 |This site will try to explain or describe mathematics the most easiest ways possible: pictures, drawings, videos, or simple formulas.
21 |Click the picture to play.
29 | Magnifying the Universe by Number Sleuth. 30 |Hello world! This is HTML5 Boilerplate.
24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /app/bower_components/angular/README.md: -------------------------------------------------------------------------------- 1 | # packaged angular 2 | 3 | This repo is for distribution on `npm` and `bower`. The source for this module is in the 4 | [main AngularJS repo](https://github.com/angular/angular.js). 5 | Please file issues and pull requests against that repo. 6 | 7 | ## Install 8 | 9 | You can install this package either with `npm` or with `bower`. 10 | 11 | ### npm 12 | 13 | ```shell 14 | npm install angular 15 | ``` 16 | 17 | Then add a ` 21 | ``` 22 | 23 | Or `require('angular')` from your code. 24 | 25 | ### bower 26 | 27 | ```shell 28 | bower install angular 29 | ``` 30 | 31 | Then add a ` 35 | ``` 36 | 37 | ## Documentation 38 | 39 | Documentation is available on the 40 | [AngularJS docs site](http://docs.angularjs.org/). 41 | 42 | ## License 43 | 44 | The MIT License 45 | 46 | Copyright (c) 2010-2015 Google, Inc. http://angularjs.org 47 | 48 | Permission is hereby granted, free of charge, to any person obtaining a copy 49 | of this software and associated documentation files (the "Software"), to deal 50 | in the Software without restriction, including without limitation the rights 51 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 52 | copies of the Software, and to permit persons to whom the Software is 53 | furnished to do so, subject to the following conditions: 54 | 55 | The above copyright notice and this permission notice shall be included in 56 | all copies or substantial portions of the Software. 57 | 58 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 59 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 60 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 61 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 62 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 63 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 64 | THE SOFTWARE. 65 | -------------------------------------------------------------------------------- /app/bower_components/angular-mocks/README.md: -------------------------------------------------------------------------------- 1 | # packaged angular-mocks 2 | 3 | This repo is for distribution on `npm` and `bower`. The source for this module is in the 4 | [main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngMock). 5 | Please file issues and pull requests against that repo. 6 | 7 | ## Install 8 | 9 | You can install this package either with `npm` or with `bower`. 10 | 11 | ### npm 12 | 13 | ```shell 14 | npm install angular-mocks 15 | ``` 16 | 17 | You can `require` ngMock modules: 18 | 19 | ```js 20 | var angular = require('angular'); 21 | angular.module('myMod', [ 22 | require('angular-animate'), 23 | require('angular-mocks/ngMock') 24 | require('angular-mocks/ngAnimateMock') 25 | ]); 26 | ``` 27 | 28 | ### bower 29 | 30 | ```shell 31 | bower install angular-mocks 32 | ``` 33 | 34 | The mocks are then available at `bower_components/angular-mocks/angular-mocks.js`. 35 | 36 | ## Documentation 37 | 38 | Documentation is available on the 39 | [AngularJS docs site](https://docs.angularjs.org/guide/unit-testing). 40 | 41 | ## License 42 | 43 | The MIT License 44 | 45 | Copyright (c) 2010-2015 Google, Inc. http://angularjs.org 46 | 47 | Permission is hereby granted, free of charge, to any person obtaining a copy 48 | of this software and associated documentation files (the "Software"), to deal 49 | in the Software without restriction, including without limitation the rights 50 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 51 | copies of the Software, and to permit persons to whom the Software is 52 | furnished to do so, subject to the following conditions: 53 | 54 | The above copyright notice and this permission notice shall be included in 55 | all copies or substantial portions of the Software. 56 | 57 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 58 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 59 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 60 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 61 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 62 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 63 | THE SOFTWARE. 64 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/.jscsrc: -------------------------------------------------------------------------------- 1 | { 2 | "disallowEmptyBlocks": true, 3 | "disallowKeywords": [ 4 | "with" 5 | ], 6 | "disallowMixedSpacesAndTabs": true, 7 | "disallowMultipleLineStrings": true, 8 | "disallowMultipleVarDecl": true, 9 | "disallowSpaceAfterPrefixUnaryOperators": [ 10 | "!", 11 | "+", 12 | "++", 13 | "-", 14 | "--", 15 | "~" 16 | ], 17 | "disallowSpaceBeforeBinaryOperators": [ 18 | "," 19 | ], 20 | "disallowSpaceBeforePostfixUnaryOperators": true, 21 | "disallowSpacesInNamedFunctionExpression": { 22 | "beforeOpeningRoundBrace": true 23 | }, 24 | "disallowSpacesInsideArrayBrackets": true, 25 | "disallowSpacesInsideParentheses": true, 26 | "disallowTrailingComma": true, 27 | "disallowTrailingWhitespace": true, 28 | "requireCamelCaseOrUpperCaseIdentifiers": true, 29 | "requireCapitalizedConstructors": true, 30 | "requireCommaBeforeLineBreak": true, 31 | "requireCurlyBraces": true, 32 | "requireDotNotation": true, 33 | "requireLineFeedAtFileEnd": true, 34 | "requireParenthesesAroundIIFE": true, 35 | "requireSpaceAfterBinaryOperators": true, 36 | "requireSpaceAfterKeywords": [ 37 | "catch", 38 | "do", 39 | "else", 40 | "for", 41 | "if", 42 | "return", 43 | "switch", 44 | "try", 45 | "while" 46 | ], 47 | "requireSpaceAfterLineComment": true, 48 | "requireSpaceBeforeBinaryOperators": true, 49 | "requireSpaceBeforeBlockStatements": true, 50 | "requireSpacesInAnonymousFunctionExpression": { 51 | "beforeOpeningCurlyBrace": true 52 | }, 53 | "requireSpacesInConditionalExpression": true, 54 | "requireSpacesInFunctionDeclaration": { 55 | "beforeOpeningCurlyBrace": true 56 | }, 57 | "requireSpacesInFunctionExpression": { 58 | "beforeOpeningCurlyBrace": true 59 | }, 60 | "requireSpacesInNamedFunctionExpression": { 61 | "beforeOpeningCurlyBrace": true 62 | }, 63 | "requireSpacesInsideObjectBrackets": "allButNested", 64 | "validateIndentation": 4, 65 | "validateLineBreaks": "LF", 66 | "validateParameterSeparator": ", ", 67 | "validateQuoteMarks": "'" 68 | } 69 | -------------------------------------------------------------------------------- /app/bower_components/angular-route/README.md: -------------------------------------------------------------------------------- 1 | # packaged angular-route 2 | 3 | This repo is for distribution on `npm` and `bower`. The source for this module is in the 4 | [main AngularJS repo](https://github.com/angular/angular.js/tree/master/src/ngRoute). 5 | Please file issues and pull requests against that repo. 6 | 7 | ## Install 8 | 9 | You can install this package either with `npm` or with `bower`. 10 | 11 | ### npm 12 | 13 | ```shell 14 | npm install angular-route 15 | ``` 16 | 17 | Then add `ngRoute` as a dependency for your app: 18 | 19 | ```javascript 20 | angular.module('myApp', [require('angular-route')]); 21 | ``` 22 | 23 | ### bower 24 | 25 | ```shell 26 | bower install angular-route 27 | ``` 28 | 29 | Add a ` 33 | ``` 34 | 35 | Then add `ngRoute` as a dependency for your app: 36 | 37 | ```javascript 38 | angular.module('myApp', ['ngRoute']); 39 | ``` 40 | 41 | ## Documentation 42 | 43 | Documentation is available on the 44 | [AngularJS docs site](http://docs.angularjs.org/api/ngRoute). 45 | 46 | ## License 47 | 48 | The MIT License 49 | 50 | Copyright (c) 2010-2015 Google, Inc. http://angularjs.org 51 | 52 | Permission is hereby granted, free of charge, to any person obtaining a copy 53 | of this software and associated documentation files (the "Software"), to deal 54 | in the Software without restriction, including without limitation the rights 55 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 56 | copies of the Software, and to permit persons to whom the Software is 57 | furnished to do so, subject to the following conditions: 58 | 59 | The above copyright notice and this permission notice shall be included in 60 | all copies or substantial portions of the Software. 61 | 62 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 63 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 64 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 65 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 66 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 67 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 68 | THE SOFTWARE. 69 | -------------------------------------------------------------------------------- /app/bower_components/angular-loader/README.md: -------------------------------------------------------------------------------- 1 | # packaged angular-loader 2 | 3 | This repo is for distribution on `npm` and `bower`. The source for this module is in the 4 | [main AngularJS repo](https://github.com/angular/angular.js/blob/master/src/loader.js). 5 | Please file issues and pull requests against that repo. 6 | 7 | ## Install 8 | 9 | You can install this package either with `npm` or with `bower`. 10 | 11 | ### npm 12 | 13 | ```shell 14 | npm install angular-loader 15 | ``` 16 | 17 | Add a ` 21 | ``` 22 | 23 | Note that this package is not in CommonJS format, so doing `require('angular-loader')` will 24 | return `undefined`. 25 | 26 | ### bower 27 | 28 | ```shell 29 | bower install angular-loader 30 | ``` 31 | 32 | Add a ` 36 | ``` 37 | 38 | ## Documentation 39 | 40 | Documentation is available on the 41 | [AngularJS docs site](http://docs.angularjs.org/guide/bootstrap). 42 | 43 | ## License 44 | 45 | The MIT License 46 | 47 | Copyright (c) 2010-2015 Google, Inc. http://angularjs.org 48 | 49 | Permission is hereby granted, free of charge, to any person obtaining a copy 50 | of this software and associated documentation files (the "Software"), to deal 51 | in the Software without restriction, including without limitation the rights 52 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 53 | copies of the Software, and to permit persons to whom the Software is 54 | furnished to do so, subject to the following conditions: 55 | 56 | The above copyright notice and this permission notice shall be included in 57 | all copies or substantial portions of the Software. 58 | 59 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 60 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 61 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 62 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 63 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 64 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 65 | THE SOFTWARE. 66 | -------------------------------------------------------------------------------- /app/bower_components/html5-boilerplate/test/file_content.js: -------------------------------------------------------------------------------- 1 | /* jshint mocha: true */ 2 | 3 | var assert = require('assert'); 4 | var fs = require('fs'); 5 | var path = require('path'); 6 | 7 | var pkg = require('./../package.json'); 8 | var dirs = pkg['h5bp-configs'].directories; 9 | 10 | // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 11 | 12 | function checkString(file, string, done) { 13 | 14 | var character = ''; 15 | var matchFound = false; 16 | var matchedPositions = 0; 17 | var readStream = fs.createReadStream(file, { 'encoding': 'utf8' }); 18 | 19 | readStream.on('close', done); 20 | readStream.on('error', done); 21 | readStream.on('readable', function () { 22 | 23 | // Read file until the string is found 24 | // or the whole file has been read 25 | while (matchFound !== true && 26 | (character = readStream.read(1)) !== null) { 27 | 28 | if (character === string.charAt(matchedPositions)) { 29 | matchedPositions += 1; 30 | } else { 31 | matchedPositions = 0; 32 | } 33 | 34 | if (matchedPositions === string.length) { 35 | matchFound = true; 36 | } 37 | 38 | } 39 | 40 | assert.equal(true, matchFound); 41 | this.close(); 42 | 43 | }); 44 | 45 | } 46 | 47 | // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - 48 | 49 | function runTests() { 50 | 51 | var dir = dirs.dist; 52 | 53 | describe('Test if the files from the "' + dir + '" directory have the expected content', function () { 54 | 55 | it('".htaccess" should have the "ErrorDocument..." line uncommented', function (done) { 56 | var string = '\n\nErrorDocument 404 /404.html\n\n'; 57 | checkString(path.resolve(dir, '.htaccess'), string, done); 58 | }); 59 | 60 | it('"index.html" should contain the correct jQuery version in the CDN URL', function (done) { 61 | var string = 'ajax.googleapis.com/ajax/libs/jquery/' + pkg.devDependencies.jquery + '/jquery.min.js'; 62 | checkString(path.resolve(dir, 'index.html'), string, done); 63 | }); 64 | 65 | it('"index.html" should contain the correct jQuery version in the local URL', function (done) { 66 | var string = 'js/vendor/jquery-' + pkg.devDependencies.jquery + '.min.js'; 67 | checkString(path.resolve(dir, 'index.html'), string, done); 68 | }); 69 | 70 | it('"main.css" should contain a custom banner', function (done) { 71 | var string = '/*! HTML5 Boilerplate v' + pkg.version + 72 | ' | ' + pkg.license.type + ' License' + 73 | ' | ' + pkg.homepage + ' */\n\n/*\n'; 74 | checkString(path.resolve(dir, 'css/main.css'), string, done); 75 | }); 76 | 77 | }); 78 | 79 | } 80 | 81 | runTests(); 82 | -------------------------------------------------------------------------------- /app/index-async.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 12 | 13 | 44 |----- o -----
111 |"Do not worry too much about your difficulties in mathematics, I can assure you that mine are still greater." - Albert Einstein.
112 |