不要怂,就是干,撸起袖子干!

Commit 77a84331 by Elliot Foster

Stop leaking global 'type'

1 parent 82adf68e
Showing with 2 additions and 0 deletions
...@@ -32,6 +32,8 @@ module.exports = (function() { ...@@ -32,6 +32,8 @@ module.exports = (function() {
.on('result', function(results) { .on('result', function(results) {
results results
.on('row', function(row, metadata) { .on('row', function(row, metadata) {
var type
for (var prop in row) { for (var prop in row) {
if (row.hasOwnProperty(prop)) { if (row.hasOwnProperty(prop)) {
if (row[prop] === null) { if (row[prop] === null) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!