GithubHelp home page GithubHelp logo

backbonejs-amd-boilerplate's People

Contributors

david0178418 avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar

backbonejs-amd-boilerplate's Issues

Out of box Chrome 18 throws XmlHttpRequest exception

This is happening on Chrome 18 (current stable) and 20 (canary).
This does not happen on FireFox 12.

XMLHttpRequest cannot load file:///C:/projects/BackboneJS-AMD-Boilerplate/src/js/templates/main.html. Cross origin requests are only supported for HTTP.
Uncaught Error: NETWORK_ERR: XMLHttpRequest Exception 101 src/js/text.js:7

Looks like the solution is to setup a web server or run chrome with a flag.

Add libs originals

This project is good not only as a starting point but in maintaining current versions of required libraries. So instead of looking for branches at amdjs I simply copy requirejs-ready backbone, underscore and jquery libs from here.

Still, I haet developing using minified versions =) suppose not only me thou... so as your boilerplate is for developers it would be great add unminified versions of the libs here too.

Thanks.

jQuery infecting global space

The original fork of backbone being used and core underscore pre 1.3 did not occupy global space by default if using a module loader. Due to user feedback, this was changed to require those loading as a module to call "noConflict" by default.

This was done, but these libraries require 'jquery' (which is what jQuery calls itself by default) and keep it in the global space. Need to structure things in more efficient way to load these and make as easy as possible to use.

best backbonejs and requirejs boilerplate

hi guyz
i've started working on backbonejs and requirejs, i'm looking forward for a good boilerplate that uses both requirejs and backbonejs for a good app layout.
I'm new to this so i don't know which boiler plate is good, i've seen a couple of them on github. please recommend me a good one.
thnx

How to add more specs?

Hello David,

I tried to add more specs to the spec-runner.js file in the Array at this position:

//list of specs to run

My spec runner looks like this:

(function() {
"use strict";
var specsPath = '../../tests/js/specs/';
define([
specsPath + 'main-view-spec',
specsPath + 'binary.switch.device.view.spec'
],
function(specStub) {
return {
...

I can see in the console that the new file "binary.switch.device.view.spec" is actually loaded, but none of the tests is being executed. If I put the new spec file to the first position of the array, the contained specs are successfully executed. So how is it possible to test more than one single spec file?

Thanks Marc

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.