Skip to content

Commit

Permalink
fix some formatting and closure linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dfreedm committed Sep 25, 2017
1 parent 946aad5 commit 5ae21a0
Show file tree
Hide file tree
Showing 9 changed files with 1,152 additions and 727 deletions.
1,049 changes: 730 additions & 319 deletions externs/closure-types.js

Large diffs are not rendered by default.

4 changes: 4 additions & 0 deletions externs/polymer-closure-types.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,4 +154,8 @@
* }}
*/
let TemplatizeOptions;


/** @typedef {{run: function(function(), number=):number, cancel: function(number)}} */
let AsyncInterface;
</script>
2 changes: 1 addition & 1 deletion gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ gulp.task('closure', ['clean'], () => {
if (CLOSURE_LINT_ONLY) {
closurePluginOptions = {
logger: closureLintLogger
}
};
}

const closureStream = closure({
Expand Down
56 changes: 25 additions & 31 deletions lib/elements/properties-element.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,36 +13,30 @@
<link rel="import" href="../mixins/properties-mixin.html">

<script>
(function() {
(function () {

'use strict';
'use strict';

/**
* Base class that provides a simple starting point for creating an element
* that declares properties via the `properties` static getter that are
* observed. Changes are reported via the `_propertiesChanged` method.
* This element provides no specific support for rendering. Users are expected
* to create a shadowRoot and put content into it and update it in whatever
* way makes sense for the use case.
*
* @customElement
* @polymer
* @memberof Polymer
* @constructor
* @implements {Polymer_PropertiesMixin}
* @extends HTMLElement
* @appliesMixin Polymer.PropertiesMixin
* @summary Base class that provides a simple starting point for creating an
* element that declares properties via the `properties` static getter that
* are observed
*/
const PropertiesElement = Polymer.PropertiesMixin(HTMLElement);
/**
* @constructor
* @implements {Polymer_PropertiesMixin}
* @extends {HTMLElement}
*/
Polymer.PropertiesElement = PropertiesElement;

})();
</script>
/**
* Base class that provides a simple starting point for creating an element
* that declares properties via the `properties` static getter that are
* observed. Changes are reported via the `_propertiesChanged` method.
* This element provides no specific support for rendering. Users are expected
* to create a shadowRoot and put content into it and update it in whatever
* way makes sense for the use case.
*
* @customElement
* @polymer
* @memberof Polymer
* @constructor
* @implements {Polymer_PropertiesMixin}
* @extends HTMLElement
* @appliesMixin Polymer.PropertiesMixin
* @summary Base class that provides a simple starting point for creating an
* element that declares properties via the `properties` static getter that
* are observed
*/
const PropertiesElement = Polymer.PropertiesMixin(HTMLElement);
Polymer.PropertiesElement = PropertiesElement;
})();
</script>
Loading

0 comments on commit 5ae21a0

Please sign in to comment.