ModuleCircularBar.js 635 B

123456789101112131415161718
  1. //-------------------------------------------------------------------------------------------------------
  2. // Copyright (C) Microsoft. All rights reserved.
  3. // Licensed under the MIT license. See LICENSE.txt file in the project root for full license information.
  4. //-------------------------------------------------------------------------------------------------------
  5. import { circular_foo } from "ModuleCircularFoo.js"
  6. export function circular_bar() {
  7. increment();
  8. return circular_foo();
  9. }
  10. export function increment() {
  11. counter++;
  12. }
  13. export var counter = 0;
  14. export function reset() {
  15. counter = 0;
  16. }