mirror of
https://github.com/Hopiu/postal.js.git
synced 2026-03-16 22:20:23 +00:00
Updated package.json and completed post-merge tweaks from @arobson's pull request
This commit is contained in:
commit
08f313fa69
7 changed files with 25 additions and 18 deletions
18
.npmignore
18
.npmignore
|
|
@ -1,12 +1,16 @@
|
|||
build-browser-diags.json
|
||||
build-browser.json
|
||||
build-all.sh
|
||||
nodetesthost.js
|
||||
example
|
||||
node_modules
|
||||
node_modules*
|
||||
spec
|
||||
src
|
||||
ext
|
||||
lib/browser
|
||||
lib/standard
|
||||
lib/amd
|
||||
diags
|
||||
diags
|
||||
.gitignore
|
||||
.idea
|
||||
build.json
|
||||
header.js
|
||||
.anvil
|
||||
component.json
|
||||
.npmignore
|
||||
classic-resolver*
|
||||
|
|
@ -12,8 +12,7 @@
|
|||
"full": "lib",
|
||||
"partial": {
|
||||
"/standard/postal.*": "./example/standard/js",
|
||||
"/amd/postal.*": "./example/amd/js/libs/postal",
|
||||
"/amd/postal.*": "./example/node/client/js/lib",
|
||||
"/amd/postal.*": [ "./example/amd/js/libs/postal", "./example/node/client/js/lib" ],
|
||||
"/node/postal.js": "./example/node/messaging"
|
||||
}
|
||||
},
|
||||
|
|
|
|||
|
|
@ -1,10 +1,9 @@
|
|||
/*
|
||||
postal.js
|
||||
Author: Jim Cowart
|
||||
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
|
||||
Version 0.7.1
|
||||
*/
|
||||
|
||||
/*
|
||||
postal
|
||||
Author: Jim Cowart (http://freshbrewedcode.com/jimcowart)
|
||||
License: Dual licensed MIT (http://www.opensource.org/licenses/mit-license) & GPL (http://www.opensource.org/licenses/gpl-license)
|
||||
Version 0.7.1
|
||||
*/
|
||||
// This is the amd-module version of postal.js
|
||||
// If you need the standard lib style version, go to http://github.com/ifandelse/postal.js
|
||||
define( ["underscore"], function ( _, undefined ) {
|
||||
|
|
|
|||
6
example/amd/js/libs/postal/postal.min.js
vendored
6
example/amd/js/libs/postal/postal.min.js
vendored
File diff suppressed because one or more lines are too long
Binary file not shown.
1
lib/classic-resolver.node.min.js
vendored
1
lib/classic-resolver.node.min.js
vendored
|
|
@ -1 +0,0 @@
|
|||
var classicBindingsResolver={cache:{},compare:function(e,t){if(this.cache[t]&&this.cache[t][e])return!0;var n=new RegExp("^"+e.replace(/\./g,"\\.").replace(/\*/g,".*").replace(/#/g,"[A-Z,a-z,0-9]*")+"$"),r=n.test(t);return r&&(this.cache[t]||(this.cache[t]={}),this.cache[t][e]=!0),r},reset:function(){this.cache={}}};module.exports={configure:function(e){return e.configuration.resolver=classicBindingsResolver,e}}
|
||||
|
|
@ -51,7 +51,7 @@
|
|||
"email" : "PleaseJustUseTheIssuesPage@github.com",
|
||||
"url" : "http://github.com/ifandelse/postal.js/issues"
|
||||
},
|
||||
"files" : ["lib/node/postal.js"],
|
||||
"directories" : { "lib" : "lib/node" },
|
||||
"main" : "lib/node/postal.js",
|
||||
"engines" : {
|
||||
"node" : ">=0.4.0"
|
||||
|
|
|
|||
Loading…
Reference in a new issue