Comparing version 0.1.0 to 0.1.1
@@ -166,6 +166,2 @@ //------------------------------------------------------------------------------- | ||
BugPackContext.prototype.export = function(bugPackKeyString, bugPackExport) { | ||
//TEST | ||
console.log("Exporting '", bugPackKeyString, "'"); | ||
if (!bugPackKeyString) { | ||
@@ -251,6 +247,2 @@ throw new Error("Expected string for 'bugPackKeyString' instead found ", bugPackKeyString); | ||
BugPackContext.prototype.loadExportSync = function(bugPackKeyString) { | ||
//TEST | ||
console.log("BugPackContext#loadExportSync - bugPackKeyString:", bugPackKeyString); | ||
var bugPackKey = this.generateBugPackKey(bugPackKeyString); | ||
@@ -453,6 +445,2 @@ var registryEntry = this.registry.getEntryByPackageAndExport(bugPackKey.getPackageName(), bugPackKey.getExportName()); | ||
BugPackContext.prototype.processSourceSync = function(bugPackSource) { | ||
//TEST | ||
console.log("Processing source '", bugPackSource.getSourceFilePath(), "'"); | ||
var _this = this; | ||
@@ -459,0 +447,0 @@ this.processedSources[bugPackSource.getSourceFilePath()] = true; |
@@ -86,2 +86,12 @@ //------------------------------------------------------------------------------- | ||
*/ | ||
BugPackSource.prototype.load = function() { | ||
if (!this.loaded && !this.loadStarted) { | ||
this.loadStarted = true; | ||
this.loadSource(); | ||
} | ||
}; | ||
/** | ||
* | ||
*/ | ||
BugPackSource.prototype.loadSync = function() { | ||
@@ -88,0 +98,0 @@ if (!this.loaded) { |
{ | ||
"name": "bugpack", | ||
"version": "0.1.0", | ||
"version": "0.1.1", | ||
"description": "Package loader to help make browser and node js package loading consistent", | ||
@@ -5,0 +5,0 @@ "main": "./lib/BugPackApi.js", |
@@ -1,2 +0,13 @@ | ||
bugpackage | ||
========== | ||
# bugpack | ||
bugpack is a JavaScript class and package loader that helps make browser and | ||
node js package loading consistent. It is designed to work both within node | ||
js as well as directly in the browser. | ||
bugpack provides a simple package loading mechanism that depends upon a | ||
pre-generated registry called bugpack-registry.json. These files can be | ||
produced using the [bugpack-registry](https://github.com/airbug/bugpack-registry) project. | ||
The library makes up part of the foundation of our architecture for [airbug](http://airbug.com) | ||
so check out the docs for an overview of the full power of what the code has | ||
to offer. If the library is missing something you need, please let us know! |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
53724
1575
14