(type, user_id, item_id, rlabs, source, rectag, position, click_only, extra_data)
| 136 | } |
| 137 | |
| 138 | function actionUrl(type, user_id, item_id, rlabs, source, rectag, position, click_only, extra_data) { |
| 139 | return fullEndpoint("/js/action/new") + |
| 140 | "&type=" + type + |
| 141 | "&user=" + user_id + |
| 142 | "&item=" + item_id + |
| 143 | (rlabs ? ("&" + params.track_par + "=" + rlabs) : "") + |
| 144 | (rectag ? ("&rectag=" + rectag) : "") + |
| 145 | (source ? ("&source=" + encodeURIComponent(normalise(source))) : "") + |
| 146 | (position ? ("&pos=" + position) : "") + |
| 147 | (click_only ? ("&click_only=" + click_only) : "") + |
| 148 | (extra_data ? ("&extra_data=" + encodeURIComponent(extra_data)) : ""); |
| 149 | } |
| 150 | |
| 151 | function userUrl(user_id, facebook_opts) { |
| 152 | return fullEndpoint("/js/user/new") + |
no test coverage detected