我已经使用这个命令 meteor add harrison:papa-parse 安装了一个包。然后我在脚本中使用了它,但出现错误消息“ReferenceError: Papa is not defined”。我需要做其他事情吗?
doStuff = (data) ->
console.log data
parseData = (url, callBack) ->
Papa.parse url,
download: true
dynamicTyping: true
complete: (results) ->
callBack results.data
Meteor.startup ->
parseData "tests/sample.csv", doStuff
return