イシュー
参考
色づけしたいコードを記述
module.exports = {
new: function (req, res) {
res.view();
},
update: function(req, res, next) {
Account.update( req.param('id'), req.params.all(), function accountUpdated (err){
if(err) {
return res.redirect('/account/edit/' + req.param('id'));
}
res.redirect('/account/show/' + req.param('id'));
});
}
}
package com.opencsv;
import java.io.IOException;
import java.util.Iterator;
Provides an Iterator over the data found in opencsv.
public class CSVIterator implements Iterator<String[]> {
private CSVReader reader;
private String[] nextLine;
@param reader
@throws IOException
public CSVIterator(CSVReader reader) throws IOException {
this.reader = reader;
nextLine = reader.readNext();
}
Returns true if the iteration has more elements.
@return
public boolean hasNext() {
return nextLine != null;
}
Returns the next elenebt in the iterator.
@return
public String[] next() {
String[] temp = nextLine;
try {
nextLine = reader.readNext();
} catch (IOException e) {
throw new RuntimeException(e);
}
return temp;
}
This method is not supported by openCSV and will throw a UnsupportedOperationException if called.
public void remove() {
throw new UnsupportedOperationException("This is a read only iterator.");
}
}
xml version="1.0" encoding="utf-8"
<people xmlnsx="http://studiostyles.info">
<person name="Jim Jones" ID="27">
<email html="yes">jim@example.invalid</email>
<address>
<post>123 Example St,  South Brisbane</post>
<city>Brisbane</city>
</address>
<xcomments>
<![CDATA[ See? Data. Don't worry about this <tag>. ]]>
</xcomments>
</person>
</people>
.entry-content pre.code {
background-color: #272822;
color: #E0E2E4;
}
.synSpecial { color: #f92672 }
.synType { color: #f92672 }
.synComment { color: #75715e }
.synPreProc { color: #f92672 }
.synIdentifier { color: #66d9ef }
.synConstant { color: #e6db74 }
.synStatement { color: #f92672 }
var a = 2;