Giter Club home page Giter Club logo

mold's People

Contributors

kennethkoontz avatar

Stargazers

 avatar

Watchers

 avatar  avatar

mold's Issues

Let's handle .jpgs

Right now the only image type that we allow in static is .png. Let's add .jpg.

this.postData is being parsed incorrectly

Mold parsed a form that has a title and description as:

{ '{"title":"first title","description":"Second description."}': '' }

This is incorrect. It should parse the form as:

{"title":"first title","description":"Second description."}

make mold routing dynamic

Right now, mold routing doesn't parse the url for parameters. It takes a static string and maps that directly to a single action. It would be useful to parse the url and extract the parameters, passing it into an action.

So we could do something like.

in routes.js:

'/foo/:id': 'foo'

in actions.js:

foo: function() {
    this.params['id'] // returns value of 'id' in params object.
}

mold startserver needs a process that watches the app directory

mold needs a process that watches the app directory and checks for changes in any files below it. It might be beneficial to just use a library that already does this. nodemon, supervisor come to mind.

Also we want to be able to restart the server if there is an exception.

mold doesn't log 404 correctly when pulling a static file

[info] GET 200 /static/bootstrap/img/glyphicons-halflings.png
[info] GET 200 /projects
[info] GET 200 /static/bootstrap/img/glyphicons-halflings-white.png
[info] GET 200 /static/bookmarklet/bookmarklet.js

At this point /static/bookmarklet/bookmarklet.js doesn't exist. Should NOT be getting a 200 response code

this.postData is being parsed incorrectly

Mold parsed a form that has a title and description as:

{ '{"title":"first title","description":"Second description."}': '' }

This is incorrect. It should parse the form as:

{"title":"first title","description":"Second description."}

this.postData is being parsed incorrectly

Mold parsed a form that has a title and description as:

{ '{"title":"first title","description":"Second description."}': '' }

This is incorrect. It should parse the form as:

{"title":"first title","description":"Second description."}

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.