Step 4: Disable/remove bulk of skinner code

This commit is contained in:
Travis Ralston 2022-03-02 16:38:53 -07:00
parent b667ef9f18
commit 7e21da0c7f
5 changed files with 3 additions and 136 deletions

View file

@ -15,21 +15,11 @@ See the License for the specific language governing permissions and
limitations under the License.
*/
import Skinner, { ISkinObject } from './Skinner';
// Import the js-sdk so the proper `request` object can be set. This does some
// magic with the browser injection to make all subsequent imports work fine.
import "matrix-js-sdk/src/browser-index";
export function loadSkin(skinObject: ISkinObject): void {
Skinner.load(skinObject);
}
export function resetSkin(): void {
Skinner.reset();
}
export function getComponent(componentName: string): any {
return Skinner.getComponent(componentName);
// return Skinner.getComponent(componentName);
}