Giter Site home page Giter Site logo

Comments (5)

deltreey avatar deltreey commented on June 28, 2024 2

@letsgetrandy I can put together a pull request if you approve it. This discussion could use your opinion.

from brototype.

deltreey avatar deltreey commented on June 28, 2024

you'll need to show more of your code than that...Where do you define the app variable?

from brototype.

tlkiong avatar tlkiong commented on June 28, 2024

I had the impression that Bro(app).doYouEven('...'); will also check that app is defined.
Or is my assumption wrong here?

from brototype.

deltreey avatar deltreey commented on June 28, 2024

As it currently functions, You wrap an object that you know exists. Then
you check for properties of that object. Do you think that people would
benefit from a null check in the wrap part of the equation? Is this a
feature you'd like to see?

On Fri, Jul 8, 2016, 11:21 AM Kiong [email protected] wrote:

I had the impression that Bro(app).doYouEven('...'); will also check that
app is defined.
Or is my assumption wrong here?


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#55 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/AAjwG8k5XKbWSCHfM5JG_0uhTGJIciKpks5qTmr9gaJpZM4JH-Hl
.

from brototype.

tlkiong avatar tlkiong commented on June 28, 2024

I see.
I think that would actually be a great feature:

Bro(app).doYouEven('xxx.yyy');

Should perhaps check if the following are not undefined & null till the last property:
app
xxx
yyy

from brototype.

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.