One Paragraph of project description goes here
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
| /** | |
| * @usage: | |
| * | |
| * <CheckBox label="Foo" value="foo" v-model="MySelectedValues" /> | |
| * <CheckBox label="Bar" value="bar" v-model="MySelectedValues" /> | |
| * <CheckBox label="Baz" value="baz" v-model="MySelectedValues" /> | |
| * | |
| * data(){ | |
| * return { | |
| * MySelectedValues: [], |
| function minMax(min, max, value) { | |
| if (value < min) return min | |
| if (value > max) return max | |
| return value | |
| } |
| // ref: https://gist.github.com/karpolan/2c573b5767bc9b65db9936c7fad4daac | |
| module.exports = { | |
| endOfLine: "auto", | |
| printWidth: 120, // max 120 chars in line, code is easy to read | |
| useTabs: false, // use spaces instead of tabs | |
| tabWidth: 2, // "visual width" of of the "tab" | |
| /* trailingComma: "all", */ | |
| trailingComma: 'es5', // add trailing commas in objects, arrays, etc. | |
| semi: true, // add ; when needed | |
| singleQuote: true, // '' for stings instead of "" |
| function isPrime(num) { | |
| for(let i = 2, s = Math.sqrt(num); i <= s; i++) { | |
| if(num % i === 0) return false; | |
| } | |
| return num > 1; | |
| } |
| # See http://help.github.com/ignore-files/ for more about ignoring files. | |
| # compiled output | |
| /dist | |
| /tmp | |
| /out-tsc | |
| # Runtime data | |
| pids | |
| *.pid |
Markdownμ ν μ€νΈ κΈ°λ°μ λ§ν¬μ μΈμ΄λ‘ 2004λ 쑴그루λ²μ μν΄ λ§λ€μ΄μ‘μΌλ©° μ½κ² μ°κ³ μ½μ μ μμΌλ©° HTMLλ‘ λ³νμ΄ κ°λ₯νλ€. νΉμκΈ°νΈμ λ¬Έμλ₯Ό μ΄μ©ν λ§€μ° κ°λ¨ν ꡬ쑰μ λ¬Έλ²μ μ¬μ©νμ¬ μΉμμλ λ³΄λ€ λΉ λ₯΄κ² 컨ν μΈ λ₯Ό μμ±νκ³ λ³΄λ€ μ§κ΄μ μΌλ‘ μΈμν μ μλ€. λ§ν¬λ€μ΄μ΄ μ΅κ·Ό κ°κ΄λ°κΈ° μμν μ΄μ λ κΉν(https://github.com) λλΆμ΄λ€. κΉνμ μ μ₯μRepositoryμ κ΄ν μ 보λ₯Ό κΈ°λ‘νλ README.mdλ κΉνμ μ¬μ©νλ μ¬λμ΄λΌλ©΄ λꡬλ κ°μ₯ λ¨Όμ μ νκ² λλ λ§ν¬λ€μ΄ λ¬Έμμλ€. λ§ν¬λ€μ΄μ ν΅ν΄μ μ€μΉλ°©λ², μμ€μ½λ μ€λͺ , μ΄μ λ±μ κ°λ¨νκ² κΈ°λ‘νκ³ κ°λ μ±μ λμΌ μ μλ€λ κ°μ μ΄ λΆκ°λλ©΄μ μ μ μ¬λ¬ κ³³μΌλ‘ νΌμ Έκ°κ² λλ€.
| //App.js | |
| //localStorage Name | |
| const STORAGE_DATA = 'todoData' | |
| function App(selector, title) { | |
| if (!(this instanceof App)) { | |
| throw new Error('New ν€μλ μμ΄ μ€ννμ΅λλ€') | |
| } |