Code Monkey home page Code Monkey logo

Comments (3)

johnyanarella avatar johnyanarella commented on July 20, 2024

I'm only vaguely familiar with the Sencha Touch micro loader, but based on a quick skim of Sencha's documentation:

http://www.sencha.com/blog/behind-sencha-command-and-the-build-process/

All of this information is contained inside a JSON-formatted configuration file named app.json. Two of the most important configuration items to be highlighted here are “js” and “css”.
With the new application structure, JavaScript and CSS assets should never be physically linked inside the HTML document (for example, manually added as <script>, <style> or <link> tags). Instead, they should be specified and maintained inside app.json as array of JavaScript and CSS items in the right execution order for the “js” and “css” keys, respectively.

I'd suggest something along these lines:

"js": [
    {
        "path": "sdk/sencha-touch.js"
    },
    {
        "path": "deft/deft.js" // or deft-debug.js
    },
    {
        "path": "app.js"
    }
]

Thanks for the suggestion, I'll keep this issue open as a reminder to include a Usage section in future documentation. We are in the process of moving to Sencha style documentation (using their JSDuck tool) and the README will be revised at that point.

from deftjs.

kristianmandrup avatar kristianmandrup commented on July 20, 2024

Cool :) Thanks!

from deftjs.

brian428 avatar brian428 commented on July 20, 2024

Just closing this old, resolved issue.

from deftjs.

Related Issues (20)

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.