Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Mark Dalgleish
@markdalgleish
it hasn't picked up the repo move
Dan Allen
@mojavelinux
Not sure if you've seen this yet. Bespoke emulating Shower. http://opendevise.github.io/bespoke-emulating-shower
I plan to eventually create a Ribbon theme for Bespoke so people can easily make presentations in that style...and to practice making a theme.
Mark Dalgleish
@markdalgleish
oh wow!!
that is so cool
that is really, really cool
Dan Allen
@mojavelinux
:) The power of modularity. You're deck that emulates Reveal.js inspired me to make the Shower one :)
Mark Dalgleish
@markdalgleish
shows exactly why I made bespoke :D
Dan Allen
@mojavelinux
DYI to the max!
I also have the print styles locally...just need to push them. Because we can easily emulate the print styles that Reveal.js and Shower use (which are basically the same)
I think it produces the best result, even more so than bespoke-pdf which uses a low-level PDF library....but good to have options.
Mark Dalgleish
@markdalgleish
you could bundle all the plugins and theme into a single plugin called bespoke-shower, bespoke-reveal, etc
Dan Allen
@mojavelinux
Now that would definitely be an awesome way to get people to switch.
The overview for Bespoke is actually better than what Shower has because we use the screen width evenly.
However, I do need to add an option to fix the size of the slide and calculate the spacing dynamically (similar to flexbox)
I had tried with flexbox originally, but flexbox can't transition, so it turned out to be too limiting. I decided instead to calculate the positions.
The blurriness in scale in WebKit is really a drag, though. I wish they would fix that because calculating stuff for both scale and zoom is really, really a pain.
Mark Dalgleish
@markdalgleish
flexbox reimplemented in javascript
then it should be able to transition :D
Dan Allen
@mojavelinux
Wow, that looks really interesting!
Mark Dalgleish
@markdalgleish
that's what they use in react native
Dan Allen
@mojavelinux
I'll definitely start playing around with that in slide content and get familiar with it, see how I can put it to use.
I sure did learn a lot about CSS, transitions and transforms when doing bespoke-overview. It also taught me that you could spend a lifetime trying to think of all the ways to use CSS :)
Mark Dalgleish
@markdalgleish
bespoke has been the primary outlet for letting me practice my CSS transition foo
really pays off when you're trying to make an app-like site
Dan Allen
@mojavelinux
Definitely. It's the perfect playground to experiment.
One shortcoming I discovered when doing bespoke-overview is that there isn't a clear event as to when CSS transitions are complete.
You can be pretty sure, but not exactly sure.
That's because you get events when each one ends, but you never know if that was the last one or not. And you can't be 100% sure if they will fire at all (given certain timing scenarios)
I have some pretty crazy code in bespoke-overview to deal with this, and except for really strange edge cases, it works every time.
I guess I should say that that problem is, you don't get an event when the transition starts
if that were the case, then you could reference count
Dan Allen
@mojavelinux
For those interested, Resonate, the book about presentations, is available online. http://resonate.duarte.com/
Naturally, seeing that book gives me ideas of plugins for Bespoke.js :)
@markdalgleish When you get a chance, could you look over the PR for fixing fullscreen in Firefox and give me your thoughts. bespokejs/bespoke-scale#9 I'm keen to steal that 1px back that Firefox is shorting us.
That should also fix any similar problem in other browsers as well, now or in the future. Fullscreen should be pure :)
Dan Allen
@mojavelinux
@markdalgleish I noticed the version in the comment at the top of the files in the dist folder in bespoke-core is incorrect. It says that it is version 1.0.0, but it should be 1.1.0. https://github.com/bespokejs/bespoke/blob/master/dist/bespoke.js
Mark Dalgleish
@markdalgleish
Times have changed a bit since Bespoke started
That raises a question I've had in the back of my mind
No more `
Is it time to go all in on npm, drop Bower and browser globals?
Mark Dalgleish
@markdalgleish
Bah, Gitter mobile messed up my messages
I'll try again...
That raises a question I've had in the back of my mind
Times have changed a bit since Bespoke started
Is it time to go all in on npm, drop Bower and browser globals?
No more dist directory with browserified output, no more pointless copyright header
That's probably the only thing that really shows the project's age
@mojavelinux the fact that you've had pull requests with merge conflicts due to the dist directory is probably the main reason I'd be keen to go CommonJS only