Code Monkey home page Code Monkey logo

background-imager's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

strcilla

background-imager's Issues

Add support for background-imager.json config file

An option to have parameters in a json, e.g. background-imager.json file together with the images would be very helpful. Example:

{
    "class-prefix": "icon-",
    "url-path": "/images/"
}

This gives the coder less to do and makes code more portable

Fails ungracefully when image files do not obey MMQ DSL

At parseFilename

/Users/hparra/Repositories/background-imager/lib/image-filename-helper.js:43
            queries = results[2];
                             ^
TypeError: Cannot read property '2' of null
    at Object.ImageFilenameHelper.parseFilename (/Users/hparra/Repositories/background-imager/lib/image-filename-helper.js:43:30)
    at Object.ImageFilenameHelper.getClassname (/Users/hparra/Repositories/background-imager/lib/image-filename-helper.js:211:21)
    at Object.BackgroundImager.getImageFileInfo (/Users/hparra/Repositories/background-imager/lib/background-imager.js:227:28)
    at /Users/hparra/Repositories/background-imager/lib/background-imager.js:252:18
    at Array.map (native)
    at Object.BackgroundImager.getImageFileInfoArray (/Users/hparra/Repositories/background-imager/lib/background-imager.js:249:30)
    at Object.BackgroundImager.createMediaRules (/Users/hparra/Repositories/background-imager/lib/background-imager.js:308:14)
    at /Users/hparra/Repositories/background-imager/lib/background-imager-cli.js:36:17
    at Object.oncomplete (fs.js:107: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.