Giter Site home page Giter Site logo

sample simple ember app about skelmimosa HOT 10 CLOSED

dbashford avatar dbashford commented on August 14, 2024
sample simple ember app

from skelmimosa.

Comments (10)

dbashford avatar dbashford commented on August 14, 2024

Few things...

In the config, this line is uncessary: https://github.com/breathe/mimosa-peepcode/blob/master/mimosa-config.coffee#L19 , source maps are always on.

The entire server section too. All are defaults.

Regarding the justCopy section. vendor assets aren't linted anyway. At least they should not be. So this section isn't necessary. And if its working as desired for you, it proves it is not necessary, since you don't have the just-copy module included anyway. =)

I wonder if there isn't some way to take advantage of mimosa-testem-simple to incorporate testing into the mimosa workflows.

Working on some other things but I'll play with it this evening. I'm an Ember n00b, maybe I can learn. =)

from skelmimosa.

breathe avatar breathe commented on August 14, 2024

Thanks! I committed those suggested changes.

I've looked briefly at mimosa-testem-simple but didn't get to integrating it yet ... I wasn't sure how to get it all working correctly -- in particular, the testrunner.html page expects to be able to load resources with the same url context as the normal application. The test suite is an integration test suite (apparently that's the best way for testing ember apps) -- it expects to be able to reference the application css, images etc -- as it runs it shows a live view of the app as it flips through its various tests ...

from skelmimosa.

dbashford avatar dbashford commented on August 14, 2024

Any chance this app requires the change to mimosa I just made to work (or requires an older version of mimosa)?

If so I can push the latest version and you can sub in the specific emblem.

from skelmimosa.

dbashford avatar dbashford commented on August 14, 2024

I've pushed 0.14.5 with the Emblem change so you can now use a specific version.

from skelmimosa.

dbashford avatar dbashford commented on August 14, 2024

I'm working to get testem integration going in your sample app. Made a fork. Worth mentioning that you have configured a compiled-handlebars but you only have Emblem. And you try to bring in the compiled-handlebars in the testrunner.html and obviously that 404s. Ditto with, in the testrunner, the qunit css file. Looks to be missing.

from skelmimosa.

dbashford avatar dbashford commented on August 14, 2024

Made a few edits: https://github.com/dbashford/mimosa-peepcode/commit/a0ba1982c241bb311c1959c1e4b5d1f214df0bc3

  1. moved testem out to the root
  2. test assets like quint into a test folder and out of assets
  3. had to upgrade the client Handlebars lib to 1.0.0 to get the app to work with the latest mimosa
  4. added testem-simple, but that integration isn't working for some reason. need to spend some time researching, but when it does work it'll be pretty sweet.
  5. also checked in the .mimosa folder so that anyone using the skeleton/sample app won't have to pull in bower assets if they aren't needed.

Need to chase down the testem-simple integration problem and I'll send a PR. Welcome to re-org like I did if you wish, or you can just take the testem-simple stuff and use it.

from skelmimosa.

dbashford avatar dbashford commented on August 14, 2024

@breathe Added this app to the list of demo apps on the site and tossed a blurb in the release notes. My current task is dbashford/mimosa#249 which will make the skeleton module a default one. Once I've done that I'll toss this in the list of skeletons and promote it properly. =)

from skelmimosa.

breathe avatar breathe commented on August 14, 2024

I just tried to rejigger the sample app to be compatible with the newest ember releases available via bower -- means downgrading to emblem 0.2.9 and taking advantage of the new lib: require('emblem') feature.

I updated my mimosa but didn't get 0.14.5 ... npm install -g [email protected] and npm install -g [email protected] also fail -- did these releases not make it to npm?

from skelmimosa.

dbashford avatar dbashford commented on August 14, 2024

My bad, used wrong command. 0.14.5 is available now.

0.14.6 is a future release.

from skelmimosa.

dbashford avatar dbashford commented on August 14, 2024

Added to the registry! Thanks!

from skelmimosa.

Related Issues (15)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.