Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Merge pull request #69 from PolymerElements/auto-cleanup
Browse files Browse the repository at this point in the history
Automatic format!
  • Loading branch information
e111077 authored Apr 10, 2018
2 parents adb92f0 + 8c1abc1 commit 11da025
Show file tree
Hide file tree
Showing 9 changed files with 1,646 additions and 228 deletions.
3 changes: 3 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ before_script:
npm run update-types && git diff --exit-code || (echo -e
'\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run
update-types".' && false)
- >-
npm run format && git diff --exit-code || (echo -e '\n\033[31mERROR:\033[0m
Project is not formatted. Please run "npm run format".' && false)
env:
global:
- secure: >-
Expand Down
15 changes: 3 additions & 12 deletions iron-pages.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,32 +57,23 @@

is: 'iron-pages',

behaviors: [
Polymer.IronResizableBehavior,
Polymer.IronSelectableBehavior
],
behaviors: [Polymer.IronResizableBehavior, Polymer.IronSelectableBehavior],

properties: {

// as the selected page is the only one visible, activateEvent
// is both non-sensical and problematic; e.g. in cases where a user
// handler attempts to change the page and the activateEvent
// handler immediately changes it back
activateEvent: {
type: String,
value: null
}
activateEvent: {type: String, value: null}

},

observers: [
'_selectedPageChanged(selected)'
],
observers: ['_selectedPageChanged(selected)'],

_selectedPageChanged: function(selected, old) {
this.async(this.notifyResize);
}
});

</script>
</dom-module>
Loading

0 comments on commit 11da025

Please sign in to comment.