Code Monkey home page Code Monkey logo

Comments (5)

bafolts avatar bafolts commented on September 3, 2024 1

I will make a new issue to track that. Will add a -o option to specify the output.

from tplant.

bafolts avatar bafolts commented on September 3, 2024

from tplant.

JimLynchCodes avatar JimLynchCodes commented on September 3, 2024

It does this for a lot of my files. For example this one:

import { Injectable } from '@angular/core';
import * as firebase from "firebase";

@Injectable()
export class AuthJugglerService {

  constructor() { }


  public switchToGoogleAccount() {
    firebase.auth().signOut().then(() => {
      console.log('@$ logout successful!');
      console.log('@$ currentUser is now: !' + firebase.auth().currentUser);

      var provider:any = new firebase.auth.GoogleAuthProvider();
      firebase.auth().signInWithRedirect(provider).then((result) => {
        // console.log('@$ signin wiht google worked!' + e +', user is: ' + firebase.auth().currentUser.uid);
        console.log('@$ signin wiht google worked!' + result.user);

      }).catch((e) => {
        console.log('@$ signin wiht google failed!' + e);

        firebase.auth().signInAnonymously().then((user) => {
          console.log('@$ signed in anonymously againQ ' + user.uid);
          // console.log('@$ and firebase knows it: ' + firebase.auth().currentUser.uid);
        }).catch((e) => {
          console.log('@$ signed in anonymously failed ' + e);

        })

      })
    }).catch((e) => {
      console.log('@$ anonymous user signout failed!' + e);
    });
  }


}

from tplant.

bafolts avatar bafolts commented on September 3, 2024

I pushed version 1.0.4 which should work for your pasted sample above. There was a rudimentary check in place that was determining which files should be parsed that I updated to ignore any declaration files.

from tplant.

JimLynchCodes avatar JimLynchCodes commented on September 3, 2024

nice! This one works for me!

It's just printing out to the console though. Should I be creating a plantUml file?

It would be awesome if it did. Or maybe another flag that creates the file right next to the specified typescript file. :)

from tplant.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.