Skip to content
Browse files

Copy and adjust package files from kriszyp/xstyle to allow dojo to bu…

…ild dbind (without json-schema dependency)
  • Loading branch information...
1 parent aa68deb commit b5658af612ddc19a504ac856230489bf9fe13384 @amiramix amiramix committed Mar 9, 2013
Showing with 43 additions and 0 deletions.
  1. +22 −0 package.js
  2. +21 −0 package.json
View
22 package.js
@@ -0,0 +1,22 @@
+var miniExcludes = {
+ "dbind/Validator": 1,
+ "dbind/README.md": 1,
+ "dbind/package": 1
+ },
+ isTestRe = /\/tests\//;
+
+var profile = {
+ resourceTags: {
+ test: function(filename, mid){
+ return isTestRe.test(filename) || mid == "dbind/Validator";
+ },
+
+ miniExclude: function(filename, mid){
+ return isTestRe.test(filename) || mid in miniExcludes;
+ },
+
+ amd: function(filename, mid){
+ return /\.js$/.test(filename);
+ }
+ }
+};
View
21 package.json
@@ -0,0 +1,21 @@
+{
+ "name": "xstyle",
@asudoh
asudoh added a note Mar 14, 2013

I just wondered, if it actually meant "dbind" here...?

@amiramix
amiramix added a note Mar 14, 2013

Yes, indeed, but also the git address should be corrected. I just didn't get my head around sending those corrections yet, but feel free to correct it and send it to Kris.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
+ "author": "Kris Zyp",
+ "description": "Functional reactive data binding package that provides straightforward binding of data to components like form inputs, validation connectors, and more.",
+ "licenses": [
+ {
+ "type": "AFLv2.1",
+ "url": "http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE#L43"
+ },
+ {
+ "type": "BSD",
+ "url": "http://trac.dojotoolkit.org/browser/dojo/trunk/LICENSE#L13"
+ }
+ ],
+ "repository": {
+ "type":"git",
+ "url":"http://github.com/kriszyp/dbind"
+ },
+ "main": "./bind",
+ "dojoBuild": "package.js"
+}

0 comments on commit b5658af

Please sign in to comment.
Something went wrong with that request. Please try again.