Skip to content

Commit

Permalink
Remove ="" from boolean attributes.
Browse files Browse the repository at this point in the history
  • Loading branch information
bicknellr committed Aug 7, 2018
1 parent 0e9d27f commit b725953
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 20 deletions.
4 changes: 2 additions & 2 deletions iron-doc-api.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ Polymer({
</h2>
<template is="dom-repeat" items="[[_public(descriptor.staticMethods)]]" sort="_compareDescriptors">
<iron-doc-function descriptor="[[item]]" static="" anchor-id="[[fragmentPrefix]]staticmethod-[[item.name]]">
<iron-doc-function descriptor="[[item]]" static anchor-id="[[fragmentPrefix]]staticmethod-[[item.name]]">
</iron-doc-function>
</template>
Expand All @@ -76,7 +76,7 @@ Polymer({
<template is="dom-if" if="[[_protectedCount(descriptor.methods, _staticMethods)]]">
<template is="dom-if" if="[[_showProtectedMethods]]">
<template is="dom-repeat" items="[[_protected(descriptor.staticMethods)]]" sort="_compareDescriptors">
<iron-doc-function descriptor="[[item]]" static="" anchor-id="[[fragmentPrefix]]method-[[item.name]]">
<iron-doc-function descriptor="[[item]]" static anchor-id="[[fragmentPrefix]]method-[[item.name]]">
</iron-doc-function>
</template>
Expand Down
2 changes: 1 addition & 1 deletion iron-doc-behavior.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ Polymer({
<a href\$="#[[fragmentPrefix]]description" class="deeplink">Description</a>
</h2>
<marked-element sanitize="" markdown="[[descriptor.description]]">
<marked-element sanitize markdown="[[descriptor.description]]">
<div slot="markdown-html" class="markdown-html"></div>
</marked-element>
</section>
Expand Down
2 changes: 1 addition & 1 deletion iron-doc-class.js
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Polymer({
<a href\$="#[[fragmentPrefix]]description" class="deeplink">Description</a>
</h2>
<marked-element sanitize="" markdown="[[descriptor.description]]">
<marked-element sanitize markdown="[[descriptor.description]]">
<div slot="markdown-html" class="markdown-html"></div>
</marked-element>
</section>
Expand Down
2 changes: 1 addition & 1 deletion iron-doc-element.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Polymer({
<a href\$="#[[fragmentPrefix]]description" class="deeplink">Description</a>
</h2>
<marked-element sanitize="" markdown="[[descriptor.description]]">
<marked-element sanitize markdown="[[descriptor.description]]">
<div slot="markdown-html" class="markdown-html"></div>
</marked-element>
</section>
Expand Down
4 changes: 2 additions & 2 deletions iron-doc-function.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,15 +85,15 @@ Polymer({
<div class="import-path" hidden\$="[[!addImportPath]]">Requires import: <code>[[descriptor.sourceRange.file]]</code></div>
<marked-element sanitize="" markdown="[[descriptor.description]]" hidden\$="[[!descriptor.description]]">
<marked-element sanitize markdown="[[descriptor.description]]" hidden\$="[[!descriptor.description]]">
<div slot="markdown-html" class="markdown-html"></div>
</marked-element>
<ul id="paramList" hidden\$="[[!_showParamList]]">
<template is="dom-repeat" items="[[descriptor.params]]">
<li>
<code class="paramName">[[item.name]]</code>
<marked-element sanitize="" markdown="[[item.description]]" hidden\$="[[!item.description]]">
<marked-element sanitize markdown="[[item.description]]" hidden\$="[[!item.description]]">
<div slot="markdown-html" class="markdown-html"></div>
</marked-element>
</li>
Expand Down
2 changes: 1 addition & 1 deletion iron-doc-hide-bar.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ Polymer({
}
</style>
<a href="" on-tap="_toggle">
<a href on-tap="_toggle">
<span hidden\$="[[visible]]">Show</span>
<span hidden\$="[[!visible]]">Hide</span>
<span><slot></slot></span>
Expand Down
2 changes: 1 addition & 1 deletion iron-doc-mixin.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Polymer({
<a href\$="#[[fragmentPrefix]]description" class="deeplink">Description</a>
</h2>
<marked-element sanitize="" markdown="[[descriptor.description]]">
<marked-element sanitize markdown="[[descriptor.description]]">
<div slot="markdown-html" class="markdown-html"></div>
</marked-element>
</section>
Expand Down
2 changes: 1 addition & 1 deletion iron-doc-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ Polymer({
<h2>
<a href\$="#[[fragmentPrefix]]description" class="deeplink">Description</a>
</h2>
<marked-element sanitize="" markdown="[[descriptor.description]]">
<marked-element sanitize markdown="[[descriptor.description]]">
<div slot="markdown-html" class="markdown-html"></div>
</marked-element>
</section>
Expand Down
4 changes: 2 additions & 2 deletions iron-doc-namespace.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ Polymer({
<h2>
<a href\$="#[[fragmentPrefix]]description" class="deeplink">Description</a>
</h2>
<marked-element sanitize="" markdown="[[descriptor.description]]">
<marked-element sanitize markdown="[[descriptor.description]]">
<div slot="markdown-html" class="markdown-html"></div>
</marked-element>
</section>
Expand Down Expand Up @@ -93,7 +93,7 @@ Polymer({
<a href\$="#[[fragmentPrefix]]functions" class="deeplink">Functions</a>
</h2>
<template is="dom-repeat" items="[[descriptor.functions]]" sort="_compareDescriptors">
<iron-doc-function add-import-path="" anchor-id="[[fragmentPrefix]]function-[[item.name]]" descriptor="[[item]]">
<iron-doc-function add-import-path anchor-id="[[fragmentPrefix]]function-[[item.name]]" descriptor="[[item]]">
</iron-doc-function>
</template>
</section>
Expand Down
4 changes: 2 additions & 2 deletions iron-doc-property.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const $_documentContainer = document.createElement('template');
$_documentContainer.setAttribute('style', 'display: none;');

$_documentContainer.innerHTML = `<dom-module id="iron-doc-property">
<template strip-whitespace="">
<template strip-whitespace>
<style include="iron-doc-viewer-styles"></style>
<style>
:host {
Expand Down Expand Up @@ -72,7 +72,7 @@ $_documentContainer.innerHTML = `<dom-module id="iron-doc-property">
</p>
<div id="details">
<marked-element sanitize="" id="desc" markdown="[[descriptor.description]]" hidden\$="[[!descriptor.description]]">
<marked-element sanitize id="desc" markdown="[[descriptor.description]]" hidden\$="[[!descriptor.description]]">
<div slot="markdown-html" class="markdown-html"></div>
</marked-element>
</div>
Expand Down
12 changes: 6 additions & 6 deletions iron-doc-viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -66,32 +66,32 @@ Polymer({
<iron-location path="{{_urlPath}}" hash="{{_urlHash}}"></iron-location>
<template is="dom-if" if="[[_equal(_descriptorType,'demos')]]" restamp="">
<template is="dom-if" if="[[_equal(_descriptorType,'demos')]]" restamp>
<iron-doc-demo class="active" demo="[[_demo]]" src-prefix="[[demoSrcPrefix]]" title="{{title}}">
</iron-doc-demo>
</template>
<template is="dom-if" if="[[_equal(_descriptorType,'namespaces')]]" restamp="">
<template is="dom-if" if="[[_equal(_descriptorType,'namespaces')]]" restamp>
<iron-doc-namespace class="active" descriptor="[[_currentDescriptor]]" fragment-prefix="[[_fragmentPrefix]]" title="{{title}}" base-href="[[baseHref]]">
</iron-doc-namespace>
</template>
<template is="dom-if" if="[[_equal(_descriptorType,'elements')]]" restamp="">
<template is="dom-if" if="[[_equal(_descriptorType,'elements')]]" restamp>
<iron-doc-element class="active" descriptor="[[_currentDescriptor]]" fragment-prefix="[[_fragmentPrefix]]" title="{{title}}" base-href="[[baseHref]]">
</iron-doc-element>
</template>
<template is="dom-if" if="[[_equal(_descriptorType,'mixins')]]" restamp="">
<template is="dom-if" if="[[_equal(_descriptorType,'mixins')]]" restamp>
<iron-doc-mixin class="active" descriptor="[[_currentDescriptor]]" fragment-prefix="[[_fragmentPrefix]]" title="{{title}}" base-href="[[baseHref]]">
</iron-doc-mixin>
</template>
<template is="dom-if" if="[[_equal(_descriptorType,'behaviors')]]" restamp="">
<template is="dom-if" if="[[_equal(_descriptorType,'behaviors')]]" restamp>
<iron-doc-behavior class="active" descriptor="[[_currentDescriptor]]" fragment-prefix="[[_fragmentPrefix]]" title="{{title}}" base-href="[[baseHref]]">
</iron-doc-behavior>
</template>
<template is="dom-if" if="[[_equal(_descriptorType,'classes')]]" restamp="">
<template is="dom-if" if="[[_equal(_descriptorType,'classes')]]" restamp>
<iron-doc-class class="active" descriptor="[[_currentDescriptor]]" fragment-prefix="[[_fragmentPrefix]]" title="{{title}}" base-href="[[baseHref]]">
</iron-doc-class>
</template>
Expand Down

0 comments on commit b725953

Please sign in to comment.