Permalink
Browse files

assets refactor

  • Loading branch information...
eoneill committed Sep 1, 2016
1 parent 9e58be5 commit 7427e185ed043898dccd26a74f40a748b5a2eb0e
Showing with 1,498 additions and 808 deletions.
  1. +3 −0 .gitignore
  2. +0 −272 lib/assets.js
  3. +224 −0 lib/assets/Assets.js
  4. +55 −0 lib/assets/AssetsCollection.js
  5. +85 −0 lib/assets/AssetsSource.js
  6. +0 −88 lib/assets_importer.js
  7. +1 −1 lib/eyeglass-exports.js
  8. +0 −61 lib/function_loader.js
  9. +19 −0 lib/functions/asset-uri.js
  10. +0 −21 lib/functions/asset_url.js
  11. +2 −2 lib/{functions.js → functions/index.js}
  12. +29 −0 lib/functions/normalize-uri.js
  13. +3 −4 lib/functions/version.js
  14. +0 −78 lib/import_utils.js
  15. +81 −0 lib/importers/AssetImporter.js
  16. +71 −0 lib/importers/ImportUtilities.js
  17. +8 −8 lib/{module_importer.js → importers/ModuleImporter.js}
  18. +13 −26 lib/index.js
  19. +17 −3 lib/{util/eyeglass_module.js → modules/EyeglassModule.js}
  20. +8 −51 lib/{util/eyeglass_modules.js → modules/EyeglassModules.js}
  21. +71 −0 lib/modules/ModuleFunctions.js
  22. +31 −34 lib/util/NameExpander.js
  23. +31 −15 lib/{options.js → util/Options.js}
  24. +186 −0 lib/util/URI.js
  25. +1 −1 lib/util/debug.js
  26. +3 −1 lib/util/files.js
  27. +5 −6 lib/util/package.js
  28. +5 −13 lib/{semver_checker.js → util/semverChecker.js}
  29. +34 −0 lib/util/strings.js
  30. +5 −4 lib/util/{sync_fn.js → sync.js}
  31. +0 −11 lib/util/unquote.js
  32. +1 −2 package.json
  33. +30 −9 sass/assets.scss
  34. +14 −0 test/fixtures/app_assets/node_modules/asset_mod_1/foo.scss
  35. +14 −0 test/fixtures/app_assets/node_modules/asset_mod_1/index.scss
  36. +10 −0 test/fixtures/app_assets/sass/both_assets_with_url_fragments.scss
  37. 0 test/fixtures/app_assets_odd_names/images/foo bar.png
  38. 0 test/fixtures/app_assets_odd_names/images/foo%20bar.png
  39. 0 test/fixtures/app_assets_odd_names/images/foo%2Fbar.png
  40. 0 test/fixtures/app_assets_odd_names/images/foo%5Cbar.png
  41. 0 test/fixtures/app_assets_odd_names/images/foo☃bar.png
  42. +6 −0 test/fixtures/app_assets_odd_names/package.json
  43. +424 −81 test/test_assets.js
  44. +1 −8 test/test_modules.js
  45. +2 −2 test/test_options.js
  46. +1 −2 test/test_semver.js
  47. +3 −3 test/test_utils.js
  48. +1 −1 test/test_version.js
@@ -31,3 +31,6 @@ build/Release
/coverage
/tmp
# test file to gitignore
*.gitignore.png

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 7427e18

Please sign in to comment.