extract Sample#sortByModified()
refactoring use $.ajax() <- $.getJSON()
add beforeSend() template
modfiy input submit to index.html
comment
extract class LastModifiedComponent
inline $this->_getDataModified($list)
extract toGMT()
refactoring delete empty
move /commons/*.ctp <- /samples/*.ctp
refactoring move _outputJson()
rename _responseJson() <- _outputJson()
extract _responseMessage()
extract _responseEmpty()
modify _save() use _responseMessage()
modify _save() use _responseEmpty() <- _responseMessage()
extract ResponseComponent
move header('Content-type: application/json'); response.php <-
default.ctp
move method setJson()
rename setMessageBody() <- setMessage()