This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Jcrop | |
constructor : (target, preview) -> | |
@target = $ target | |
@preview = $ preview | |
@appendJcrop() | |
getBounds : => | |
console.debug @ | |
@bounds = getBounds.call(@target) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Jcrop | |
constructor : (target, preview) -> | |
@target = $ target | |
@preview = $ preview | |
@appendJcrop() | |
getBounds : => | |
console.debug @ | |
@bounds = getBounds.call(@target) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ???よー分からん | |
$ -> | |
class Jcrop | |
constructor : (target, preview) -> | |
@target = $ target | |
@preview = $ preview |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ready function | |
$(document).ready -> | |
newpage = (obj, event, key) -> | |
obj.insertHtml('<-- newpage -->') | |
# ??? | |
$("#body").redactor | |
imageUpload: '/admin/interview/articles/image_post' | |
buttonsAdd: ['|','newpage'] | |
buttonsCustom: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ready function | |
$(document).ready -> | |
newpage = (obj, event, key) -> | |
obj.insertHtml('<-- newpage -->') | |
$("#body").redactor | |
imageUpload: '/admin/interview/articles/image_post' | |
buttonsAdd: ['|','newpage'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$(document).ready -> | |
newpage = (obj, event, key) -> | |
obj.insertHtml('<-- newpage -->') | |
$("#body").redactor | |
imageUpload: '/admin/interview/articles/image_post' | |
buttonsAdd: ['|','newpage'] | |
buttonsCustom: | |
newpage: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
*.*~ | |
.*~ | |
*.*swp | |
.*swp | |
.DS_Store |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set background=light | |
hi clear | |
if exists("syntax_on") | |
syntax reset | |
endif | |
let colors_name = "pyte" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax on | |
let g:colors_name="molokai" | |
colorscheme molokai |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"tags_jumpを使い易くする | |
"「飛ぶ」 | |
nnoremap tt <C-]> | |
"「進む」 | |
nnoremap tl :<C-u>tag<CR> | |
nnoremap tk :<C-u>tn<CR> | |
nnoremap tj :<C-u>tp<CR> | |
"「戻る」 | |
nnoremap th :<C-u>pop<CR> |