Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove big deps #90

Merged
merged 4 commits into from
Oct 17, 2013
Merged

remove big deps #90

merged 4 commits into from
Oct 17, 2013

Conversation

purge
Copy link
Collaborator

@purge purge commented Oct 16, 2013

Built sqwidget is now 25k with everything included.

@purge purge closed this Oct 16, 2013
@purge purge reopened this Oct 17, 2013
@adhipg
Copy link
Collaborator

adhipg commented Oct 17, 2013

Should we also do a wrapper since we are using both qwery and bonzo to write jQuery like code?

https://github.com/ded/bonzo#use-with-a-selector-engine

_.extend(@, Backbone.Events)

#sqwidget level event bus
@ee = new EventEmitter()
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How will this work for inter-widget communication?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

core is only initialised once, widgets are registered against this instance.

On Thu, Oct 17, 2013 at 11:31 AM, Adhip Gupta [email protected]:

In src/component/core.coffee:

class SqwidgetCore
constructor: () ->

  •  _.extend(@, Backbone.Events)
    
  •  #sqwidget level event bus
    
  •  @ee = new EventEmitter()
    

How will this work for inter-widget communication?

?
Reply to this email directly or view it on GitHubhttps://github.com//pull/90/files#r7028563
.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right.

adhipg added a commit that referenced this pull request Oct 17, 2013
@adhipg adhipg merged commit e707187 into feature/tests Oct 17, 2013
@adhipg adhipg deleted the feature/tiny branch October 17, 2013 10:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants