Authored by yyq

fix foreach

This diff could not be displayed because it is too large.
{
"name": "yoho-activity-sdk",
"version": "1.1.0",
"version": "1.1.1",
"description": "YOHO!前端js的功能封装包,主要用于在活动页面中,对主要功能的封装。",
"keywords": [
"YOHO!",
... ...
... ... @@ -23,7 +23,7 @@ function login(obj) {
_this.auth = function (nodeList, user) {
if (!user.uid) {
nodeList.forEach(function (value) {
[].forEach.call(nodeList, function(value) {
value.onclick = function (event) {
event.preventDefault();
_this.goLogin();
... ...