bootstrap-material-design icon indicating copy to clipboard operation
bootstrap-material-design copied to clipboard

Ripple.js commented out?

Open jwaltz opened this issue 12 years ago • 13 comments

In package.js the ripple.js files are commented out. Is there a reason for this? I found the commit (b5ad05ec2625aece92bbd5a8fa7fe7fe1d947339) when these files were commented out but the commit message doesn't quite explain why.

jwaltz avatar Nov 18 '14 17:11 jwaltz

Is this what is causing the following error for me: Uncaught ReferenceError: ripples is not defined

mbabauer avatar Nov 29 '14 16:11 mbabauer

Bummer, I wonder why? @html5cat

benstr avatar Dec 08 '14 15:12 benstr

after i add bootstrap-mat-design i call $.material.init(); to use the ripple effects on buttons and to give all material effects. but i get a error in console. "Uncaught ReferenceError: ripples is not defined" floating labels dont float and buttons dont ripple

error happens here "ripples": function(selector) { // 109 ripples.init((selector) ? selector : this.options.withRipples); // 110 },

r00tuzr avatar Dec 10 '14 18:12 r00tuzr

Folks, latest version of original theme might work. I'll update soon

html5cat avatar Dec 10 '14 21:12 html5cat

Thankx html5cat

r00tuzr avatar Dec 11 '14 17:12 r00tuzr

Hey guys,

@html5cat asked me to help with integrating this theme with Meteor, so I've submitted a PR directly to @fezvrasta's repo that will enable him to publish updates as he releases them. Also, ripples and everything else works (there is a full test suite).

You can already use the package from Atmosphere:

meteor add fezvrasta:bootstrap-material-design

Thanks again to Yuri for making this theme available for Meteor and so popular!

dandv avatar Dec 15 '14 15:12 dandv

Awesome thanks!!

northcoders-chris avatar Dec 15 '14 17:12 northcoders-chris

Unfortunately, still no ripples.

northcoders-chris avatar Dec 16 '14 07:12 northcoders-chris

Do they need to be initialised in the template rendered?

northcoders-chris avatar Dec 16 '14 07:12 northcoders-chris

https://github.com/chrishill627/no-ripples

northcoders-chris avatar Dec 16 '14 07:12 northcoders-chris

Cool, I got a couple of things working in the template rendered functions, I think they could be initialised in your master layout template rendered, I plan to make a Meteor app and get all the elements working and I will write an extensive README and comment template rendered function, It may be of use to make it very clear to people how to get the package up and running in a Meteor app!

northcoders-chris avatar Dec 16 '14 07:12 northcoders-chris

yes please!

MichaelFlops avatar Dec 16 '14 07:12 MichaelFlops

Look ma, no initialization necessary - https://github.com/FezVrasta/bootstrap-material-design/commit/4b1001f80493d25336d89d7a2bebd446d5c8ef41

PS: please file new issues at https://github.com/FezVrasta/ and CC @dandv :)

dandv avatar Dec 16 '14 11:12 dandv