@nuskin/ns-util 3.99.1 → 3.99.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/event.js +6 -2
package/package.json
CHANGED
package/src/event.js
CHANGED
|
@@ -241,6 +241,10 @@ if (!nuskin.events) {
|
|
|
241
241
|
VARIANT_CHANGED: "variantChanged"
|
|
242
242
|
},
|
|
243
243
|
|
|
244
|
+
mobile: {
|
|
245
|
+
NATIVE_INITIALIZING: "nativeInitializing"
|
|
246
|
+
},
|
|
247
|
+
|
|
244
248
|
recognition: {
|
|
245
249
|
PROFILED_VIEWED: "profileViewed",
|
|
246
250
|
RECOGNITION_SEARCH: "recognitionSearch"
|
|
@@ -427,8 +431,8 @@ if (!nuskin.events) {
|
|
|
427
431
|
* @param {string} eventId
|
|
428
432
|
* @memberof nuskin.events
|
|
429
433
|
*/
|
|
430
|
-
function unsubscribe(eventId) {
|
|
431
|
-
$.unsubscribe(eventId);
|
|
434
|
+
function unsubscribe(eventId, fn) {
|
|
435
|
+
$.unsubscribe(eventId, fn);
|
|
432
436
|
}
|
|
433
437
|
|
|
434
438
|
/**
|