rendr-examplesを眺めてみたメモ。
基本的な構成。npm install & grunt serverでhttp://localhost:3030で起動する(以下のexampleも同様)。
00ではindex.jsに直接書かれていたdataAdapterConfigを/configディレクトリ内のファイルに分離。
NODE_ENVの値で本番/開発環境の設定ファイル切り替えを行う
| diff --git colors/jellybeans.vim colors/jellybeans.vim | |
| index 7ddbc4e..3ea334b 100644 | |
| --- colors/jellybeans.vim | |
| +++ colors/jellybeans.vim | |
| @@ -494,7 +494,7 @@ if !s:low_color | |
| exec "hi NonText ctermbg=".g:jellybeans_background_color_256 | |
| exec "hi LineNr ctermbg=".g:jellybeans_background_color_256 | |
| hi DiffText ctermfg=81 | |
| - exec "hi Normal ctermbg=".g:jellybeans_background_color_256 | |
| + exec "hi Normal ctermbg=none" |
| * { | |
| margin: 0; | |
| padding: 0; | |
| border: 0; | |
| } | |
| body { | |
| background: #dff; | |
| font: 30px sans-serif; | |
| } |
| * { | |
| margin: 0; | |
| padding: 0; | |
| border: 0; | |
| } | |
| body { | |
| background: #ffd; | |
| font: 30px sans-serif; | |
| } |
| * { | |
| margin: 0; | |
| padding: 0; | |
| border: 0; | |
| } | |
| body { | |
| background: #ddf; | |
| font: 30px sans-serif; | |
| } |
| // This File is imported last, and will override other styles in the cascade | |
| // Add styles here to make changes without digging in too much | |
| /* | |
| * Fix: list margin | |
| */ | |
| @if $indented-lists == false { | |
| @media only screen and (min-width: 768px) { | |
| ul, ol { margin-left: 1.5em; } | |
| } |
| module.exports = function(grunt) { | |
| grunt.initConfig({ | |
| pkg: grunt.file.readJSON("package.json"), | |
| uglify: { | |
| dist: { | |
| src: ["public/js/remp.js"], | |
| dest: "public/js/remp.min.js" | |
| } | |
| }, |
| ``` | |
| @charset "UTF-8"; | |
| @import "../../public/components/foundation/scss/foundation/variables"; | |
| ``` | |
| こういうやつを、 | |
| ``` | |
| @charset "UTF-8"; |
rendr-examplesを眺めてみたメモ。
基本的な構成。npm install & grunt serverでhttp://localhost:3030で起動する(以下のexampleも同様)。
00ではindex.jsに直接書かれていたdataAdapterConfigを/configディレクトリ内のファイルに分離。
NODE_ENVの値で本番/開発環境の設定ファイル切り替えを行う
| $(window).on('touchmove.noScroll', function(evt) { | |
| if ($(evt.target).hasClass('modal-class-name')) { | |
| return; | |
| } | |
| evt.preventDefault(); | |
| }) |