Skip to content

Commit

Permalink
draft
Browse files Browse the repository at this point in the history
  • Loading branch information
2betop committed Mar 31, 2015
1 parent d8a53eb commit 7362a3b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 6 deletions.
13 changes: 13 additions & 0 deletions .editorconfig
@@ -0,0 +1,13 @@
# EditorConfig is awesome: http://EditorConfig.org

# top-most EditorConfig file
root = true

# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
8 changes: 3 additions & 5 deletions lib/compile.js
Expand Up @@ -486,7 +486,6 @@ function standard(file) {

if (info.file && info.file.isFile()) {
file.addLink(info.file.subpath);
exports(info.file);
}
break;
case 'id':
Expand All @@ -495,7 +494,6 @@ function standard(file) {

if (info.file && info.file.isFile()) {
file.addLink(info.file.subpath);
exports(info.file);
}
break;
case 'async':
Expand All @@ -506,18 +504,17 @@ function standard(file) {

if (info.file && info.file.isFile()) {
file.addLink(info.file.subpath);
exports(info.file);
}
break;
case 'uri':
info = fis.uri(value, file.dirname);
if (info.file && info.file.isFile()) {

file.addLink(info.file.subpath);
exports(info.file);

if (info.file.useHash && exports.settings.hash) {
if (embeddedCheck(file, info.file)) {
exports(info.file);
addDeps(file, info.file);
}
}
Expand Down Expand Up @@ -548,8 +545,9 @@ function standard(file) {
}
if (f && f.isFile()) {
file.addLink(f.subpath);
exports(f);

if (embeddedCheck(file, f)) {
exports(f);
addDeps(file, f);
f.requires.forEach(function(id) {
file.addRequire(id);
Expand Down
2 changes: 1 addition & 1 deletion lib/fis.js
Expand Up @@ -156,4 +156,4 @@ fis.require = function() {

fis.require._cache = {};

fis.require.prefixes = ['fis'];
fis.require.prefixes = ['fis3', 'fis'];

0 comments on commit 7362a3b

Please sign in to comment.