Skip to content
Browse files

- re-packaging

  • Loading branch information...
1 parent e4654e8 commit 83a7dbbcfb7d46bdb67fc1e38c9c7bb8204c46cc @SamuraiJack SamuraiJack committed
Showing with 12 additions and 11 deletions.
  1. +1 −0 dist.ini
  2. +4 −6 lib/Joose.js
  3. +1 −0 node_modules/test-run
  4. +4 −5 t/index.html
  5. +2 −0 t/index.js
View
1 dist.ini
@@ -17,6 +17,7 @@ copyright_holder = Nickolay Platonov <nplatonov@cpan.org>
; choose/generate files to include
[GatherDir]
+follow_symlinks = 1
[PruneCruft]
[PruneFiles]
match = ^misc/.*
View
10 lib/Joose.js
@@ -8,7 +8,7 @@ Joose.is_IE = '\v' == 'v'
Joose.is_NodeJS = Boolean(typeof process != 'undefined' && process.pid)
-Joose.top = Joose.is_NodeJS && global || function () { return this }()
+Joose.top = Joose.is_NodeJS && global || this
Joose.stub = function () {
return function () { throw new Error("Modules can not be instantiated") }
@@ -16,7 +16,6 @@ Joose.stub = function () {
Joose.VERSION = ({ /*VERSION*/ }).VERSION
-Joose.AUTHORITY = 'jsan:NPLATONOV'
// Static helpers for Arrays
@@ -111,6 +110,7 @@ Joose.S = {
}
}
+var baseFunc = function () {}
// Static helpers for objects
Joose.O = {
@@ -157,11 +157,9 @@ Joose.O = {
getMutableCopy : function (object) {
- var f = function () {}
+ baseFunc.prototype = object
- f.prototype = object
-
- return new f()
+ return new baseFunc()
},
View
1 node_modules/test-run
View
9 t/index.html
@@ -1,12 +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="../../ext-4.0.2a/resources/css/ext-all.css">
- <link rel="stylesheet" type="text/css" href="/workspace/JavaScript/BuildFarm/Test-Run/resources/css/test-run-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="../../ext-4.0.2a/ext-all-debug.js"></script>
-
- <script type="text/javascript" src="/workspace/JavaScript/BuildFarm/Test-Run/test-run-all.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
2 t/index.js
@@ -16,6 +16,8 @@ Harness.configure({
// cachePreload : true,
// transparentEx : true,
+ keepResults : false,
+
autoCheckGlobals : true,
expectedGlobals : [
'Joose', 'Class', 'Role', 'Module'

0 comments on commit 83a7dbb

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