Skip to content
Permalink
Browse files

Current to Part 5 of the blog series - http://brianmajewski.com/2015/…

  • Loading branch information...
bmajewski committed Feb 21, 2015
1 parent 18b0d51 commit 82df0f2fd5bdc91d5599aa1c40faacca38766327
Showing with 48 additions and 2 deletions.
  1. +3 −0 .bowerrc
  2. +1 −0 .gitignore
  3. +20 −0 bower.json
  4. +3 −0 public/app/main.js
  5. +7 −0 public/assets/css/bootstrap-lumen.min.css
  6. +2 −2 public/assets/css/styles.css
  7. +3 −0 public/index.html
  8. +9 −0 public/require-main.js
@@ -0,0 +1,3 @@
{
"directory": "public/components"
}
@@ -86,4 +86,5 @@ build/Release
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git-
node_modules

public/components

@@ -0,0 +1,20 @@
{
"name": "relearning-backbone",
"version": "1.0.0",
"homepage": "https://github.com/bmajewski/relearning-backbone",
"authors": [
"Brian M <hireme@brianmajewski.com>"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"public/components",
"test",
"tests"
],
"dependencies": {
"requirejs": "~2.1.16"
}
}
@@ -0,0 +1,3 @@
define(function (require) {
console.log('require module loading working');
});

Large diffs are not rendered by default.

@@ -1,3 +1,3 @@
h3 {
color: #4169e1;
body {
margin: 20px;
}
@@ -4,7 +4,10 @@
<base href="/">
<meta charset="UTF-8">
<title>Relearning Backbone</title>
<link rel="stylesheet" href="assets/css/bootstrap-lumen.min.css">
<link rel="stylesheet" href="assets/css/styles.css">

<script src="components/requirejs/require.js" data-main="require-main.js"></script>
</head>
<body>
<h3>Relearning Backbone</h3>
@@ -0,0 +1,9 @@
requirejs.config({
baseUrl: "app",

paths: {

}
});

require(['main']);

0 comments on commit 82df0f2

Please sign in to comment.
You can’t perform that action at this time.