<script type="text/javascript" src="jquery-1.7.2.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
...
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
...
<script type="text/javascript" src="http://code.jquery.com/jquery-1.9.1.js"></script>
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
// you execute "$ [sudo] gem install terminal-notifier" before using this | |
// https://github.com/alloy/terminal-notifier | |
var proc = require('child_process'); | |
function showNotif(type, msg) { | |
var title = 'Grunt building task'; | |
var activateId = null; | |
var output = null; | |
if ( type === 'ok' ) { | |
msg = 'all tasks are done.'; |
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
GET: /api/entries (一覧取得 - collectionのfetchで取得する、JSONを取得 | |
POST: /api/entries (新規作成 - collectionのcreateで作成する、JSONを取得 | |
GET: /api/entries/:entry_id (エントリ取得 - modelのfetchで取得する、JSONを取得 | |
PUT: /api/entries/:entry_id (エントリ更新 - modelのsaveで保存する、200を期待 | |
DELETE: /api/entries/:entry_id (エントリ削除 - modelのdestroyで削除してcollectionからの削除される、200を期待 | |
modelのJSON | |
{ |
OlderNewer