Code Monkey home page Code Monkey logo

syrup's Introduction

Syrup (v0.1.0-alpha)

App with sweet flavor

Content

(Pending Documentation)

Compatibility with browsers

-IE > 10
-Chrome > 32
-Firefox > 29
-Opera > 23 
-Safari >  7 

Controlling browsers support.

if(_.nav.unsupported){
    //What to do?
}

If there is any browser incompatibility please notify

Installation

Using Bower:

bower install syrup

Using Git:

git clone https://github.com/geolffreym/Syrup.git

Config

Configuration is very simple, you just have to access the folder /config/ and edit the file init.js

You need to set the 'app_path' and 'system_path', which is responsible for establishing relative directories. The default is '/' and finally, the environment which can be either development or production.

//config
var setting = {
	app_path   : '/syrup/app',
	system_path: '/syrup/system',
	env        : 'development'
};

Joining files

Node JS Required

Blend files is relatively simple, you must first establish the libraries you want to use in environment.

Syrup is modular so you can create your own libraries and integrate the autoloader

//Development
 exports.files = {
        js: {
            output: 'dist/init', //The output
            src: [
                'app/config/init', // Needed do not change
                'system/base/init', // Needed do not change
//              'lib/Form',
//              'lib/Upload' // Add all the necessary scripts for startup
            ]

        }
    }

Then you must get packages with npm install and finally run npm start and you'll have a unified library and .min in folder /dist/

If you do not have the option of using node, you must manually change the settings in the /dist/init.js and include libs separately

syrup's People

Contributors

geolffreym avatar gitter-badger avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

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.