Support for CommonJS

main
Elbert Alias 12 years ago
parent bf22c29852
commit 5b2690744c

@ -6,7 +6,7 @@
* License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.txt * License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.txt
*/ */
var wappalyzer = wappalyzer || (function() { var wappalyzer = (function() {
//'use strict'; //'use strict';
/** /**
@ -317,3 +317,9 @@ var wappalyzer = wappalyzer || (function() {
return w; return w;
})(); })();
// CommonJS package
// See http://wiki.commonjs.org/wiki/CommonJS
if ( typeof exports === 'object' ) {
exports.wappalyzer = wappalyzer;
}

@ -6,7 +6,7 @@
* License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.txt * License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.txt
*/ */
var wappalyzer = wappalyzer || (function() { var wappalyzer = (function() {
//'use strict'; //'use strict';
/** /**
@ -317,3 +317,9 @@ var wappalyzer = wappalyzer || (function() {
return w; return w;
})(); })();
// CommonJS package
// See http://wiki.commonjs.org/wiki/CommonJS
if ( typeof exports === 'object' ) {
exports.wappalyzer = wappalyzer;
}

@ -1,7 +1,7 @@
{ "name": "Wappalyzer", { "name": "Wappalyzer",
"homepage_url": "http://wappalyzer.com?utm_source=chrome&utm_medium=extension&utm_campaign=extensions", "homepage_url": "http://wappalyzer.com?utm_source=chrome&utm_medium=extension&utm_campaign=extensions",
"description": "Identifies software on the web", "description": "Identifies software on the web",
"version": "2.13", "version": "2.14",
"default_locale": "en", "default_locale": "en",
"manifest_version": 2, "manifest_version": 2,
"icons": { "icons": {

@ -3,10 +3,14 @@
*/ */
(function() { (function() {
//'use strict'; 'use strict';
var var
main = require('wappalyzer'), { Cc, Ci } = require('chrome'),
w = main.wappalyzer tabs = require('tabs'),
self = require('self'),
main = require('wappalyzer'),
w = main.wappalyzer
; ;
w.driver = { w.driver = {

@ -6,7 +6,7 @@
* License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.txt * License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.txt
*/ */
var wappalyzer = wappalyzer || (function() { var wappalyzer = (function() {
//'use strict'; //'use strict';
/** /**
@ -317,3 +317,9 @@ var wappalyzer = wappalyzer || (function() {
return w; return w;
})(); })();
// CommonJS package
// See http://wiki.commonjs.org/wiki/CommonJS
if ( typeof exports === 'object' ) {
exports.wappalyzer = wappalyzer;
}

@ -6,7 +6,7 @@
* License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.txt * License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.txt
*/ */
var wappalyzer = wappalyzer || (function() { var wappalyzer = (function() {
//'use strict'; //'use strict';
/** /**
@ -317,3 +317,9 @@ var wappalyzer = wappalyzer || (function() {
return w; return w;
})(); })();
// CommonJS package
// See http://wiki.commonjs.org/wiki/CommonJS
if ( typeof exports === 'object' ) {
exports.wappalyzer = wappalyzer;
}

@ -3,7 +3,7 @@
<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#"> <RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:em="http://www.mozilla.org/2004/em-rdf#">
<Description about="urn:mozilla:install-manifest"> <Description about="urn:mozilla:install-manifest">
<em:id>wappalyzer@crunchlabz.com</em:id> <em:id>wappalyzer@crunchlabz.com</em:id>
<em:version>2.4.3</em:version> <em:version>2.5.0</em:version>
<em:type>2</em:type> <em:type>2</em:type>
<em:unpack>true</em:unpack> <em:unpack>true</em:unpack>

@ -6,7 +6,7 @@
* License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.txt * License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.txt
*/ */
var wappalyzer = wappalyzer || (function() { var wappalyzer = (function() {
//'use strict'; //'use strict';
/** /**
@ -317,3 +317,9 @@ var wappalyzer = wappalyzer || (function() {
return w; return w;
})(); })();
// CommonJS package
// See http://wiki.commonjs.org/wiki/CommonJS
if ( typeof exports === 'object' ) {
exports.wappalyzer = wappalyzer;
}

@ -6,7 +6,7 @@
* License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.txt * License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.txt
*/ */
var wappalyzer = wappalyzer || (function() { var wappalyzer = (function() {
//'use strict'; //'use strict';
/** /**
@ -317,3 +317,9 @@ var wappalyzer = wappalyzer || (function() {
return w; return w;
})(); })();
// CommonJS package
// See http://wiki.commonjs.org/wiki/CommonJS
if ( typeof exports === 'object' ) {
exports.wappalyzer = wappalyzer;
}

@ -6,7 +6,7 @@
* License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.txt * License: GPLv3 http://www.gnu.org/licenses/gpl-3.0.txt
*/ */
var wappalyzer = wappalyzer || (function() { var wappalyzer = (function() {
//'use strict'; //'use strict';
/** /**
@ -317,3 +317,9 @@ var wappalyzer = wappalyzer || (function() {
return w; return w;
})(); })();
// CommonJS package
// See http://wiki.commonjs.org/wiki/CommonJS
if ( typeof exports === 'object' ) {
exports.wappalyzer = wappalyzer;
}

Loading…
Cancel
Save