OLD | NEW |
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 void main() { | 5 void main() { |
6 try { | 6 try { |
7 print("Generated Patches"); | 7 print("Generated Patches"); |
8 } catch (e) { | 8 } catch (e) { |
9 var workedElem = document.querySelector("#worked"); | 9 var workedElem = document.querySelector("#worked"); |
10 var failedElem = document.querySelector("#failed"); | 10 var failedElem = document.querySelector("#failed"); |
11 workedElem.style.dispay = 'none'; | 11 workedElem.style.dispay = 'none'; |
12 failedElem.style.visibility = 'inline'; | 12 failedElem.style.visibility = 'inline'; |
13 } | 13 } |
14 } | 14 } |
15 | |
OLD | NEW |