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

Class.Singleton #1285

Merged
merged 5 commits into from Sep 29, 2014

Conversation

Projects
None yet
4 participants
@ickata

ickata commented Sep 24, 2014

This is implementation of a class which always returns the same instance when instantiated.

Use it the same way as you use Class.

@anutron

This comment has been minimized.

Show comment
Hide comment
@anutron

anutron Sep 24, 2014

Member

This is pretty solid work ickata. Now we have to decide if we want to release it. There's a cost to adding things to the library - we have to maintain them. I'll discuss w/ the development team what we want to do. Regardless, thanks for the contribution!

Member

anutron commented Sep 24, 2014

This is pretty solid work ickata. Now we have to decide if we want to release it. There's a cost to adding things to the library - we have to maintain them. I'll discuss w/ the development team what we want to do. Regardless, thanks for the contribution!

@ickata

This comment has been minimized.

Show comment
Hide comment
@ickata

ickata Sep 24, 2014

Thanks, Aaron. I just pushed 2 fixes - indentation correction and a typo.

ickata commented Sep 24, 2014

Thanks, Aaron. I just pushed 2 fixes - indentation correction and a typo.

@ickata

This comment has been minimized.

Show comment
Hide comment
@ickata

ickata Sep 25, 2014

What does that mean? The unit tests failed or what?

ickata commented Sep 25, 2014

What does that mean? The unit tests failed or what?

@SergioCrisostomo

This comment has been minimized.

Show comment
Hide comment
@SergioCrisostomo

SergioCrisostomo Sep 25, 2014

Member

@ickata looks like so. Here is the Travis report.

Did you run the specs locally before? If not you could check these steps to install the specs runner.

Cheers

Member

SergioCrisostomo commented Sep 25, 2014

@ickata looks like so. Here is the Travis report.

Did you run the specs locally before? If not you could check these steps to install the specs runner.

Cheers

@ickata

This comment has been minimized.

Show comment
Hide comment
@ickata

ickata Sep 25, 2014

Thanks for the info. Now everything should pass.

BTW - at my company we use MooTools, our website builder is built on top of it, so I will help with the support of everything I push.

ickata commented Sep 25, 2014

Thanks for the info. Now everything should pass.

BTW - at my company we use MooTools, our website builder is built on top of it, so I will help with the support of everything I push.

@ickata

This comment has been minimized.

Show comment
Hide comment
@ickata

ickata Sep 25, 2014

Hm, fails again.. Tests pass on my side

ickata commented Sep 25, 2014

Hm, fails again.. Tests pass on my side

@arian

This comment has been minimized.

Show comment
Hide comment
@arian

arian Sep 25, 2014

Member

Yeah, that's because of mootools/mootools-core#2655

Member

arian commented Sep 25, 2014

Yeah, that's because of mootools/mootools-core#2655

@SergioCrisostomo

This comment has been minimized.

Show comment
Hide comment
@SergioCrisostomo

SergioCrisostomo Sep 25, 2014

Member

@ickata we changed back the Node version in the specs. Could you rebase your pull request please, check also the coding style convention to remove extra spaces, and add a empty line in the end of each new file.

I just tested your code in my Travis account and got green.

Nice work!

Member

SergioCrisostomo commented Sep 25, 2014

@ickata we changed back the Node version in the specs. Could you rebase your pull request please, check also the coding style convention to remove extra spaces, and add a empty line in the end of each new file.

I just tested your code in my Travis account and got green.

Nice work!

@ickata

This comment has been minimized.

Show comment
Hide comment
@ickata

ickata Sep 27, 2014

Sergio, I made the code follow MooTools' coding guidelines.

ickata commented Sep 27, 2014

Sergio, I made the code follow MooTools' coding guidelines.

@ickata

This comment has been minimized.

Show comment
Hide comment
@ickata

ickata Sep 27, 2014

Rebased, pushed, but build fails again...

ickata commented Sep 27, 2014

Rebased, pushed, but build fails again...

@SergioCrisostomo

This comment has been minimized.

Show comment
Hide comment
@SergioCrisostomo

SergioCrisostomo Sep 27, 2014

Member

Travis is not perfect. Just checked and all builds passed but one.
Re-started it. I think it will pass.

Sent from my iPhone

On 27 sep 2014, at 11:27, Hristo Chakarov notifications@github.com wrote:

Rebased, pushed, but build fails again...


Reply to this email directly or view it on GitHub
#1285 (comment).

Member

SergioCrisostomo commented Sep 27, 2014

Travis is not perfect. Just checked and all builds passed but one.
Re-started it. I think it will pass.

Sent from my iPhone

On 27 sep 2014, at 11:27, Hristo Chakarov notifications@github.com wrote:

Rebased, pushed, but build fails again...


Reply to this email directly or view it on GitHub
#1285 (comment).

SergioCrisostomo added a commit that referenced this pull request Sep 29, 2014

@SergioCrisostomo SergioCrisostomo merged commit 1105475 into mootools:master Sep 29, 2014

1 check passed

continuous-integration/travis-ci The Travis CI build passed
Details
@anutron

This comment has been minimized.

Show comment
Hide comment
@anutron

anutron Sep 29, 2014

Member

💥

It's been ages since More got a new feature. Congratulations!

Member

anutron commented Sep 29, 2014

💥

It's been ages since More got a new feature. Congratulations!

@ickata

This comment has been minimized.

Show comment
Hide comment
@ickata

ickata Sep 29, 2014

We will keep them coming ;)

ickata commented Sep 29, 2014

We will keep them coming ;)

@anutron

This comment has been minimized.

Show comment
Hide comment
@anutron

anutron Sep 29, 2014

Member

To the extent that UI stuff is interesting to you, this may also interest you: http://www.behaviorui.com

Member

anutron commented Sep 29, 2014

To the extent that UI stuff is interesting to you, this may also interest you: http://www.behaviorui.com

@mootools mootools deleted a comment Aug 2, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment