Comments (5)
@letsgetrandy I can put together a pull request if you approve it. This discussion could use your opinion.
from brototype.
you'll need to show more of your code than that...Where do you define the app
variable?
from brototype.
I had the impression that Bro(app).doYouEven('...'); will also check that app is defined.
Or is my assumption wrong here?
from brototype.
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.
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)
- Bro, do you even use Brototype? HOT 12
- iCanHaz() should allow requesting an array of possible properties
- Brace Yourself... HOT 2
- what about keys with dots HOT 8
- Making .iCanHaz() recursive HOT 2
- possible new feature: dontTaseMe HOT 2
- Please upload v0.0.3 to npm HOT 1
- Bro-tie is down HOT 9
- angular support? HOT 1
- .butIfIdont? for .iDontAlways.butWhenIdo HOT 5
- butWhenIdo
- Version that doesn't make source code look like written by 12-year-old idiots? HOT 3
- Looks like `doYouEven()` doesn't support callback functions anymore HOT 1
- Clarification on iDontAlways/doYouEven HOT 7
- This should be part of a larger library called brodash.
- Crashed on doYouEven with null HOT 3
- Please publish 0.0.6 to npm HOT 1
- Bromise.prototype should be aliased to Bromise.brototype HOT 6
- Feature Request: Bro.pwn()
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from brototype.