Skip to content

Commit

Permalink
Do not generate source maps when publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
rbuckton committed Jan 15, 2019
1 parent c2dbe1d commit 5b98fe1
Show file tree
Hide file tree
Showing 12 changed files with 2,038 additions and 1,281 deletions.
4 changes: 3 additions & 1 deletion .npmignore
Expand Up @@ -8,5 +8,7 @@ typings
bower.json
gulpfile.js
Reflect.ts
Reflect.js.map
spec.html
tsconfig.json
tsconfig.json
tsconfig-release.json
1 change: 1 addition & 0 deletions .npmrc
@@ -0,0 +1 @@
package-lock=false
2,262 changes: 1,131 additions & 1,131 deletions Reflect.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Reflect.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions Reflect.ts
Expand Up @@ -669,8 +669,8 @@ namespace Reflect {
: <V>(map: HashMap<V>, key: string | number | symbol) => key in map,

get: downLevel
? <V>(map: HashMap<V>, key: string | number | symbol): V | undefined => hasOwn.call(map, key) ? map[key] : undefined
: <V>(map: HashMap<V>, key: string | number | symbol): V | undefined => map[key],
? <V>(map: HashMap<V>, key: string | number | symbol): V | undefined => hasOwn.call(map, key) ? map[key as string | number] : undefined
: <V>(map: HashMap<V>, key: string | number | symbol): V | undefined => map[key as string | number],
};

// Load global or shim versions of Map, Set, and WeakMap
Expand Down
153 changes: 140 additions & 13 deletions docs/ecmarkup.css
Expand Up @@ -9,7 +9,7 @@ body {
}

#spec-container {
padding-left: 20px;
padding: 0 20px;
flex-grow: 1;
flex-basis: 66%;
box-sizing: border-box;
Expand Down Expand Up @@ -130,14 +130,18 @@ emu-note > div.note-contents {
flex-shrink: 1;
}

emu-note > div.note-contents > p:first-child {
emu-note > div.note-contents > p:first-of-type {
margin-top: 0;
}

emu-note > div.note-contents > p:last-child {
emu-note > div.note-contents > p:last-of-type {
margin-bottom: 0;
}

emu-figure {
display: block;
}

emu-example {
display: block;
margin: 1em 3em;
Expand All @@ -148,28 +152,33 @@ emu-example figure figcaption {
text-align: left;
}

emu-figure figure,
emu-example figure,
emu-table figure {
display: flex;
flex-direction: column;
align-items: center;
}

emu-production {
display: block;
margin-top: 1em;
margin-bottom: 1em;
margin-left: 5ex;
}


emu-grammar.inline, emu-production.inline,
emu-grammar.inline emu-production emu-rhs, emu-production.inline emu-rhs {
display: inline;
emu-grammar.inline emu-production emu-rhs, emu-production.inline emu-rhs,
emu-grammar[collapsed] emu-production emu-rhs, emu-production[collapsed] emu-rhs {
display: inline;
padding-left: 1ex;
margin-left: 0;
}

emu-grammar[collapsed] emu-production, emu-production[collapsed] {
margin: 0;
}

emu-grammar[collapsed] emu-production emu-rhs, emu-production[collapsed] emu-rhs {
display: inline;
padding-left: 1ex;
}

emu-constraints {
font-size: .75em;
margin-right: 1ex;
Expand Down Expand Up @@ -291,7 +300,7 @@ h1 span.title {
}


h1 { font-size: 2.67em; margin-top: 2em; margin-bottom: 1em; line-height: 1em;}
h1 { font-size: 2.67em; margin-top: 2em; margin-bottom: 0; line-height: 1em;}
h2 { font-size: 2em; }
h3 { font-size: 1.56em; }
h4 { font-size: 1.25em; }
Expand Down Expand Up @@ -365,7 +374,7 @@ emu-intro emu-intro emu-intro emu-intro emu-intro h1, emu-clause emu-clause emu-
emu-intro emu-intro emu-intro emu-intro emu-intro h2, emu-clause emu-clause emu-clause emu-clause emu-clause h2, emu-annex emu-annex emu-annex emu-annex emu-annex h2 { font-size: 0.9em; }
emu-intro emu-intro emu-intro emu-intro emu-intro emu-intro h1, emu-clause emu-clause emu-clause emu-clause emu-clause emu-clause h1, emu-annex emu-annex emu-annex emu-annex emu-annex emu-annex h1 { font-size: 0.9em }

emu-clause {
emu-clause, emu-intro, emu-annex {
display: block;
}

Expand Down Expand Up @@ -425,6 +434,21 @@ emu-production > ins, emu-production > del,
emu-grammar > ins, emu-grammar > del {
display: block;
}
emu-rhs > ins, emu-rhs > del {
display: inline;
}

tr.ins > td > ins {
border-bottom: none;
}

tr.ins > td {
background-color: #e0f8e0;
}

tr.del > td {
background-color: #fee;
}

/* Menu Styles */
#menu-toggle {
Expand Down Expand Up @@ -464,6 +488,7 @@ emu-grammar > ins, emu-grammar > del {
padding: 0 5px;
position: fixed;
left: 0; top: 0;
border-right: 2px solid #bbb;

z-index: 2;
}
Expand Down Expand Up @@ -769,6 +794,10 @@ li.menu-search-result-term:before {
#spec-container {
padding: 0 5px;
}

#references-pane-spacer {
display: none;
}
}

@media only screen and (max-width: 800px) {
Expand All @@ -780,3 +809,101 @@ li.menu-search-result-term:before {
margin: 0; padding: 0;
}
}


/* Toolbox */
.toolbox {
position: absolute;
background: #ddd;
border: 1px solid #aaa;
display: none;
color: #eee;
padding: 5px;
border-radius: 3px;
}

.toolbox.active {
display: inline-block;
}

.toolbox a {
text-decoration: none;
padding: 0 5px;
}

.toolbox a:hover {
text-decoration: underline;
}

.toolbox:after, .toolbox:before {
top: 100%;
left: 15px;
border: solid transparent;
content: " ";
height: 0;
width: 0;
position: absolute;
pointer-events: none;
}

.toolbox:after {
border-color: rgba(0, 0, 0, 0);
border-top-color: #ddd;
border-width: 10px;
margin-left: -10px;
}
.toolbox:before {
border-color: rgba(204, 204, 204, 0);
border-top-color: #aaa;
border-width: 12px;
margin-left: -12px;
}

#references-pane-container {
position: fixed;
bottom: 0;
left: 0;
right: 0;
height: 250px;
display: none;
background-color: #ddd;
z-index: 1;
}

#references-pane-table-container {
overflow-x: hidden;
overflow-y: auto;
}

#references-pane-spacer {
flex-basis: 33%;
max-width: 500px;
}

#references-pane {
flex-grow: 1;
overflow: hidden;
display: flex;
flex-direction: column;
}

#references-pane-container.active {
display: flex;
}

#references-pane-close:after {
content: '✖';
float: right;
cursor: pointer;
}

#references-pane table tr td:first-child {
text-align: right;
padding-right: 5px;
}

@media print {
#menu-toggle {
display: none;
}
}

0 comments on commit 5b98fe1

Please sign in to comment.