@peerboard/core
Advanced tools
Comparing version
@@ -50,2 +50,7 @@ "use strict"; | ||
forumSDK.createForum(forumID, container, opts); | ||
}).catch(function (err) { | ||
console.error("Error creating forum: ", err); | ||
if (options.onFail) { | ||
options.onFail(); | ||
} | ||
}); | ||
@@ -52,0 +57,0 @@ } |
@@ -65,2 +65,7 @@ 'use strict'; | ||
forumSDK.createForum(forumID, container, opts); | ||
}).catch(function (err) { | ||
console.error("Error creating forum: ", err); | ||
if (options.onFail) { | ||
options.onFail(); | ||
} | ||
}); | ||
@@ -67,0 +72,0 @@ } |
@@ -10,2 +10,3 @@ export declare type ScrollTarget = 'iframe' | 'top'; | ||
onReady?: () => void; | ||
onFail?: () => void; | ||
baseURL?: string; | ||
@@ -12,0 +13,0 @@ sdkURL?: string; |
{ | ||
"name": "@peerboard/core", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "peerboard.com frontend components", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
17951
5.06%153
7.75%