Permalink
Browse files

- re-packaging

  • Loading branch information...
1 parent d57a521 commit 71c46d362e2710fce35c105eb961eaa65703a498 @SamuraiJack committed Aug 26, 2011
Showing with 99 additions and 92 deletions.
  1. +0 −61 Components.JS
  2. +65 −0 components.json
  3. +6 −6 dist.ini
  4. +1 −0 node_modules/joose
  5. +1 −0 node_modules/joosex-simplerequest
  6. +1 −0 node_modules/test-run
  7. +4 −3 t/index.html
  8. +21 −22 t/index.js
View
@@ -1,61 +0,0 @@
-COMPONENTS = {
-
- "Kernel" : [
- "JooseX.Namespace.Depended.Manager",
-
- "JooseX.Namespace.Depended.Resource",
-
- "JooseX.Namespace.Depended.Materialize.Eval",
-
- "JooseX.Namespace.Depended.Resource.JavaScript",
- "JooseX.Namespace.Depended.Resource.JooseClass"
- ],
-
-
- "Web" : [
- "+Kernel",
-
- "jsan:JooseX.SimpleRequest",
- "JooseX.Namespace.Depended.Materialize.ScriptTag",
-
- "JooseX.Namespace.Depended.Transport.XHRAsync",
- "JooseX.Namespace.Depended.Transport.ScriptTag",
-
- "JooseX.Namespace.Depended",
-
- "JooseX.Namespace.Depended.Bootstrap.Web"
- ],
-
- "NodeJS" : [
- "+Kernel",
-
- "JooseX.Namespace.Depended.Transport.NodeJS",
- "JooseX.Namespace.Depended.Materialize.NodeJS",
-
- "JooseX.Namespace.Depended.Resource.Require",
-
- "JooseX.Namespace.Depended",
- "JooseX.Namespace.Depended.Bootstrap.NodeJS"
- ],
-
-
- "Auto" : [
- "+Kernel",
-
- "jsan:JooseX.SimpleRequest",
-
- "JooseX.Namespace.Depended.Materialize.ScriptTag",
-
- "JooseX.Namespace.Depended.Transport.XHRAsync",
- "JooseX.Namespace.Depended.Transport.ScriptTag",
-
- "JooseX.Namespace.Depended.Transport.NodeJS",
- "JooseX.Namespace.Depended.Materialize.NodeJS",
-
- "JooseX.Namespace.Depended.Resource.Require",
-
- "JooseX.Namespace.Depended",
- "JooseX.Namespace.Depended.Bootstrap.Auto"
- ]
-}
-
View
@@ -0,0 +1,65 @@
+{
+
+ 'Kernel' : [
+ 'JooseX.Namespace.Depended.Manager',
+
+ 'JooseX.Namespace.Depended.Resource',
+
+ 'JooseX.Namespace.Depended.Materialize.Eval',
+
+ 'JooseX.Namespace.Depended.Resource.JavaScript',
+ 'JooseX.Namespace.Depended.Resource.JooseClass'
+ ],
+
+
+ 'Web' : [
+ '+Kernel',
+
+ 'node_modules/joosex-simplerequest/lib/JooseX/SimpleRequest.js',
+ 'JooseX.Namespace.Depended.Materialize.ScriptTag',
+
+ 'JooseX.Namespace.Depended.Transport.XHRAsync',
+ 'JooseX.Namespace.Depended.Transport.ScriptTag',
+
+ 'JooseX.Namespace.Depended',
+
+ 'JooseX.Namespace.Depended.Bootstrap.Web'
+ ],
+
+ 'NodeJS' : [
+ '+Kernel',
+
+ 'JooseX.Namespace.Depended.Transport.NodeJS',
+ 'JooseX.Namespace.Depended.Materialize.NodeJS',
+
+ 'JooseX.Namespace.Depended.Resource.Require',
+
+ 'JooseX.Namespace.Depended',
+ 'JooseX.Namespace.Depended.Bootstrap.NodeJS'
+ ],
+
+
+ 'Auto' : {
+ saveAs : 'joosex-namespace-depended-all.js',
+
+ contains : [
+ '+Kernel',
+
+ 'node_modules/joosex-simplerequest/lib/JooseX/SimpleRequest.js',
+
+ 'JooseX.Namespace.Depended.Materialize.ScriptTag',
+
+ 'JooseX.Namespace.Depended.Transport.XHRAsync',
+ 'JooseX.Namespace.Depended.Transport.ScriptTag',
+
+ 'JooseX.Namespace.Depended.Transport.NodeJS',
+ 'JooseX.Namespace.Depended.Materialize.NodeJS',
+
+ 'JooseX.Namespace.Depended.Resource.Require',
+
+ 'JooseX.Namespace.Depended',
+ 'JooseX.Namespace.Depended.Bootstrap.Auto'
+ ]
+ }
+}
+
View
@@ -22,6 +22,7 @@ first_version = 0.0.1
; choose/generate files to include
[GatherDir]
+follow_symlinks = 1
[PruneCruft]
[License]
@@ -40,19 +41,18 @@ static_dir = static ; default
[JSAN::ReadmeFromMD] ; should be after docs generation
[JSAN::InstallInstructions] ; add INSTALL file, describing the installation process
-[JSAN::Bundle] ; after docs generation to avoid docs for bundles
+[NPM::Bundle] ; after docs generation to avoid docs for bundles
;=========================================================================
; `npm` configuration - package.json generation
-[JSAN::NPM]
-main = lib/Task/JooseX/Namespace/Depended/NodeJS
+[NPM::Package]
+main = joosex-namespace-depended-all.js
dependency = joose >= 3.16.0
-dependency = joosex-meta-lazy >= 0.3.1
-dependency = joosex-simplerequest >= 0.2.1
-
+;dependency = joosex-meta-lazy >= 0.3.1
+;dependency = joosex-simplerequest >= 0.2.1
;=========================================================================
View
View
@@ -1,10 +1,11 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
- <link rel="stylesheet" type="text/css" href="/jsan/Task/ExtJS/resources/css/ext-all.css">
- <link rel="stylesheet" type="text/css" href="/jsan/Test/Run/static/css/all.css">
+ <link rel="stylesheet" type="text/css" href="http://cdn.sencha.io/ext-4.0.2a/resources/css/ext-all.css">
+ <link rel="stylesheet" type="text/css" href="../node_modules/test-run/resources/css/test-run-all.css">
- <script type="text/javascript" src="/jsan/Task/Test/Run/WebBundle.js"></script>
+ <script type="text/javascript" src="http://cdn.sencha.io/ext-4.0.2a/bootstrap.js"></script>
+ <script type="text/javascript" src="../node_modules/test-run/test-run-all.js"></script>
<script type="text/javascript" src="index.js"></script>
</head>
View
@@ -12,12 +12,11 @@ Harness.configure({
title : 'JooseX.Namespace.Depended test suite',
// transparentEx : true,
- verbosity : 0,
preload : [
- 'jsan:Task.Joose.Core',
+ '../node_modules/joose/joose-all.js',
- 'Task.JooseX.Namespace.Depended.Auto'
+ '../joosex-namespace-depended-all.js'
]
})
@@ -38,25 +37,25 @@ Harness.start(
'050_own_namespace_deps.t.js',
'060_asynchronous_nesting.t.js',
'070_dependencies_in_my.t.js',
- {
- url : '080_dependencies_in_lazy_classes.t.js',
- preload : [
- 'jsan:Task.Joose.Core',
-
- 'Task.JooseX.Namespace.Depended.Auto',
- 'jsan:JooseX.Meta.Lazy'
- ]
- },
-
- {
- url : '081_dependencies_in_lazy_classes.t.js',
- preload : [
- 'jsan:Task.Joose.Core',
-
- 'Task.JooseX.Namespace.Depended.Auto',
- 'jsan:JooseX.Meta.Lazy'
- ]
- },
+// {
+// url : '080_dependencies_in_lazy_classes.t.js',
+// preload : [
+// 'jsan:Task.Joose.Core',
+//
+// 'Task.JooseX.Namespace.Depended.Auto',
+// 'jsan:JooseX.Meta.Lazy'
+// ]
+// },
+//
+// {
+// url : '081_dependencies_in_lazy_classes.t.js',
+// preload : [
+// 'jsan:Task.Joose.Core',
+//
+// 'Task.JooseX.Namespace.Depended.Auto',
+// 'jsan:JooseX.Meta.Lazy'
+// ]
+// },
'082_dependencies_from_previous_namespace.t.js',
'090_future_class.t.js',
'100_additional_resources.t.js',

0 comments on commit 71c46d3

Please sign in to comment.