File tree Expand file tree Collapse file tree 2 files changed +16
-16
lines changed
Expand file tree Collapse file tree 2 files changed +16
-16
lines changed Original file line number Diff line number Diff line change 11{
2- "name" : " lfg-nucleus" ,
3- "dependencies" : {
4- "numeral" : " ^1.5.3" ,
5- "paper-button" : " PolymerElements/paper-button#^1.0.8" ,
6- "paper-icon-button" : " PolymerElements/paper-icon-button#^1.0.5" ,
7- "paper-input" : " PolymerElements/paper-input#^1.0.18" ,
8- "paper-tabs" : " PolymerElements/paper-tabs#^1.0.10" ,
9- "boe-list" : " SupportClass/boe-list#^0.2.0" ,
10- "iron-icons" : " PolymerElements/iron-icons#^1.1.3"
11- }
2+ "name" : " lfg-nucleus" ,
3+ "dependencies" : {
4+ "numeral" : " ^1.5.3" ,
5+ "paper-button" : " PolymerElements/paper-button#^1.0.8" ,
6+ "paper-icon-button" : " PolymerElements/paper-icon-button#^1.0.5" ,
7+ "paper-input" : " PolymerElements/paper-input#^1.0.18" ,
8+ "paper-tabs" : " PolymerElements/paper-tabs#^1.0.10" ,
9+ "boe-list" : " SupportClass/boe-list#^0.2.0" ,
10+ "iron-icons" : " PolymerElements/iron-icons#^1.1.3" ,
11+ "polymer" : " Polymer/polymer#^1.3.1"
12+ }
1213}
Original file line number Diff line number Diff line change 11/* global Polymer */
2- document . addEventListener ( 'DOMContentLoaded' , function ( ) {
2+ ( function ( ) {
33 'use strict' ;
4-
5- var sendBtn = document . getElementById ( 'send' ) ;
6-
74 var template = document . querySelector ( 'template[is=dom-bind]' ) ;
8- template . async ( function init ( ) {
5+
6+ template . addEventListener ( 'dom-change' , function init ( ) {
97 template . removeEventListener ( 'dom-change' , init ) ;
108
119 /* Due to the data binding we do between the tabs and the visibility of the input fields,
@@ -39,6 +37,7 @@ document.addEventListener('DOMContentLoaded', function () {
3937 } ) ;
4038 } ) ;
4139
40+ var sendBtn = document . getElementById ( 'send' ) ;
4241 sendBtn . addEventListener ( 'click' , function ( ) {
4342 var name = document . getElementById ( 'name' ) . value ;
4443 var type = document . getElementById ( 'tabs' ) . selected === 0 ? 'subscription' : 'tip' ;
@@ -98,4 +97,4 @@ document.addEventListener('DOMContentLoaded', function () {
9897 }
9998 } ) ;
10099 }
101- } ) ;
100+ } ) ( ) ;
You can’t perform that action at this time.
0 commit comments