From 7756f3819bc04f4d4835b0544cc7aab54ee7d282 Mon Sep 17 00:00:00 2001 From: Elliot Shepherd Date: Sun, 16 Nov 2014 18:04:11 +1100 Subject: [PATCH] Re-add useLocalDefaultSkin (doesn't work in Chrome) --- skin.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/skin.js b/skin.js index 66602acd..898196bb 100644 --- a/skin.js +++ b/skin.js @@ -34,6 +34,11 @@ SkinManager = function() { ".shade #position::-moz-range-thumb": "TITLEBAR.BMP", } + // For local dev, we want to use the asset we have locally + this.useLocalDefaultSkin = function() { + self.setSkinByUrl('skins/base-2.91.wsz'); + } + // I have a collection of skins on GitHub to make loading remote skins // easier. rawgit.com changes this into a free CDN this.setSkinByName = function(name) {