diff --git a/.gitignore b/.gitignore index c33fd54..cd24b50 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,4 @@ node_modules/ test/story-formats/ build.bat test/tweego.exe +test/ diff --git a/dist/noble.min.css b/dist/noble.min.css new file mode 100644 index 0000000..8d9df92 --- /dev/null +++ b/dist/noble.min.css @@ -0,0 +1 @@ +div.noble-wrapper{position:relative;width:400px;height:400px;margin:1em}div.noble-wrapper div.layer{position:absolute;width:100%;height:100%}div#editor-container{height:400px}div#editor-container #edit-window{height:400px;width:400px;float:left}div#editor-container #edit-options{height:400px;padding:1em}div#editor-container div.tab-container{overflow:hidden;border:1px solid #ccc;background-color:#555}div#editor-container #tab-buttons{background-color:#f5f5f5;float:left;border:none;outline:0;cursor:pointer;padding:1em;transition:.3s}div#editor-container #tab-buttons:hover{background-color:#ddd;color:#111}div#editor-container #tab-buttons.active{background-color:#ccc;color:#111}div#editor-container div.tab-content{display:none;padding:1em;border:1px solid #ccc;border-top:none}div.noble-wrapper.flat{border:none}div.noble-wrapper.material-light{box-shadow:0 0 2px #888}div.noble-wrapper.material-dark{box-shadow:0 0 2px #000}div.noble-wrapper.border-thin-light{border:2px solid #111}div.noble-wrapper.border-thin-dark{border:2px solid #eee}div.noble-wrapper.border-thick-light{border:6px solid #111}div.noble-wrapper.border-thick-dark{border:6px solid #eee}div.noble-wrapper.border-outset-light{border:6px outset #555}div.noble-wrapper.border-outset-dark{border:6px outset #ccc}div.noble-wrapper.border-inset-light{border:6px inset #555}div.noble-wrapper.border-inset-dark{border:6px inset #ccc}div.noble-wrapper.tiny{width:64px;height:64px}div.noble-wrapper.small{width:128px;height:128px}div.noble-wrapper.medium{width:256px;height:256px}div.noble-wrapper.large{width:320px;height:320px}div.noble-wrapper.max-safe{width:400px;height:400px}div.noble-wrapper.oversized{width:600px;height:600px}div.noble-wrapper.relative{max-width:400px;max-height:400px}div.noble-wrapper.relative.small-em{max-width:4rem;max-height:4rem}div.noble-wrapper.relative.medium-em{max-width:8rem;max-height:8rem}div.noble-wrapper.relative.large-em{max-width:12rem;max-height:12rem}div.noble-wrapper.relative.very-large-em{max-width:16rem;max-height:16rem} \ No newline at end of file diff --git a/dist/noble.min.js b/dist/noble.min.js new file mode 100644 index 0000000..e859a6e --- /dev/null +++ b/dist/noble.min.js @@ -0,0 +1 @@ +window.Noble=window.Noble||{},Noble.config={cache:!0,portraitPassages:{tag:"portrait",onStartup:!0},storyVar:"$nobleAvatars"},window.Noble=window.Noble||{},window.Noble.cache=function(){var c=this,r=[],o=document.location.href.split("/");o.pop(),o=o.join("/")+"/",c.push=function(e,n){e.match(/^http/)||(e=o+e);var a=new Image;r[e]&&n?n(e):(n&&(a.onload=n,a.onerror=n),r[e]=a),a.src=e},c.pushArray=function(e,n,a){for(var r=0,o=e.length,t=0;t