Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
supports converting simplified commonjs wrapper
- Loading branch information
Showing
4 changed files
with
55 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
define(function (require) { | ||
var director = require('director'); | ||
var github = require('github-index'); | ||
var blog = require('blog-index'); | ||
var about = require('about-index'); | ||
var githubContent = require('github-content'); | ||
var blogContent = require('blog-content'); | ||
var aboutContent = require('about-content'); | ||
|
||
var currentNav = null | ||
, navs = { | ||
github : github.init | ||
, blog : blog.init | ||
, about : about.init | ||
} | ||
; | ||
|
||
return navs; | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
var director = require('./resolved/director'); | ||
var github = require('./resolved/github-index'); | ||
var blog = require('./resolved/blog-index'); | ||
var about = require('./resolved/about-index'); | ||
var githubContent = require('./resolved/github-content'); | ||
var blogContent = require('./resolved/blog-content'); | ||
var aboutContent = require('./resolved/about-content'); | ||
|
||
var currentNav = null | ||
, navs = { | ||
github : github.init | ||
, blog : blog.init | ||
, about : about.init | ||
} | ||
; | ||
|
||
module.exports = navs; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters