adaptivejs
Advanced tools
Comparing version 0.1.10 to 0.1.11
@@ -1,2 +0,2 @@ | ||
define(function(){ | ||
define(['mobifyjs/capture'], function(Capture){ | ||
var DocumentFactory = {}; | ||
@@ -11,5 +11,8 @@ | ||
*/ | ||
DocumentFactory.makeDocument = function(docHTML) { | ||
DocumentFactory.makeDocument = function(docHTML, disable) { | ||
disable = (disable !== undefined) ? disable : true; | ||
docHTML = docHTML || markup; | ||
if (disable) { | ||
docHTML = Capture.disable(docHTML, 'x-') | ||
} | ||
var iframe = document.createElement('iframe'); | ||
@@ -16,0 +19,0 @@ iframe.style.display = 'none'; |
{ | ||
"name": "adaptivejs", | ||
"version": "0.1.10", | ||
"version": "0.1.11", | ||
"description": "A framework for creating adaptive websites.", | ||
@@ -5,0 +5,0 @@ "author": { |
@@ -28,1 +28,11 @@ adaptivejs | ||
as a way of testing your changes. | ||
## Running the test | ||
To run your tests in the browser, run the following: | ||
grunt test:brower | ||
And browse to: | ||
http://localhost:8888/tests/unit/ |
Sorry, the diff of this file is not supported yet
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
157093
37
3199
38