Giter VIP home page Giter VIP logo

btc-chaplin's People

Contributors

jupl avatar paulmillr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

btc-chaplin's Issues

Outdated phonegap version

The cordova:add:android command outputs a config.xml with <preference name="phonegap-version" value="1.9.0" /> This is outdated and should be 2.7.0.

Update Dependencies

  • Backbone (at 1.0.0)
  • Chaplin (at 0.9.0)
  • Backbone.stickit (at 0.6.3)
  • Bootstrap (at 2.3.1)

Default to Exoskeleton?

Down the line would be nice to keep things lightweight and use Exoskeleton by default. Tasks will still be available to switch to classic Backbone + jQuery + Lo-Dash.

Update collection view automatically

For me collection view doesn't update automatically, when I add new items into collection. It works when I comment in app/views/base/collection.coffee these 2 lines:
initialize: View::initialize -> #initialize: View::initialize
initSelectors: View::initSelectors -> #initSelectors: View::initSelectors

Move to Sass

I've gotten more demand for SCSS support first. With Autoprefixer I'm on board as soon as soon I can include autoprefixer-brunch and sass-brunch with libsass. Plus it becomes consistent with other skeletons.

Pass karma config into jake code task

Running npm test on a fresh install bombs due to a missing symlink to Karma as described in Node.js Debugging Primer. I discovered the cause was a missing symlink in node_modules/.bin (karma was not listed). To fix this, I've submitted karma-runner/karma#1131 and, as a workaround, symlinked from node_modules/.bin/karma to the binary in node_modules/karma/bin/karma.

After doing that the jake error stopped occurring, and I then started noticing karma wasn't using the karma.conf file I'd defined. As a result, I ended up hard-coding the following line in test.jake so karma is executed with the expected arguments:

args.push('karma.conf.js');

Any thoughts on setting a default config setting so users who add karma-coffee-preprocessor and convert their karma configs to CoffeeScript can reliably use jake test:code?

Remove Bootstrap

  • It makes maintaining the skeleton easier.
  • Not everyone may want Bootstrap but something else.
  • A simple Bootstrap setup out of the box is available with Bower.
  • Those that want the full LESS version should be experienced enough to set it up on their own.
  • LESS Hat, 3L, etc. can serve as a nice replacement to Bootstrap mixins.

Cordova android builds not initializing

I've created an app the web build works fine but the android build doesn't seem to be initializing. My guess is that the coffeescript js is throwing things off. The example app has this

index.html

...
        <script type="text/javascript" src="index.js"></script>
        <script type="text/javascript">app.initialize();</script>
...

index.js

var app = {
    // Application Constructor
    initialize: function() {
        this.bindEvents();
    },
    // Bind Event Listeners
    //
    // Bind any events that are required on startup. Common events are:
    // 'load', 'deviceready', 'offline', and 'online'.
    bindEvents: function() {
        document.addEventListener('deviceready', this.onDeviceReady, false);
    },
    // deviceready Event Handler
    //
    // The scope of 'this' is the event. In order to call the 'receivedEvent'
    // function, we must explicity call 'app.receivedEvent(...);'
    onDeviceReady: function() {
        app.receivedEvent('deviceready');
    },
    // Update DOM on a Received Event
    receivedEvent: function(id) {
        var parentElement = document.getElementById(id);
        var listeningElement = parentElement.querySelector('.listening');
        var receivedElement = parentElement.querySelector('.received');

        listeningElement.setAttribute('style', 'display:none;');
        receivedElement.setAttribute('style', 'display:block;');

        console.log('Received Event: ' + id);
    }
};

while my app has this

index.html

...
    <script type="text/javascript" src="app.js"></script>
    <script type="text/javascript">require('initialize');</script>
...

app.js

...
window.require.define({"initialize": function(exports, require, module) {
  var Application;

  Application = require('application');

  $(function() {
    return (new Application).initialize();
  });

}});
...

I've tried the S.O. suggestion (here and here) but havent gotten anything to work. Any ideas??

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.