Skip to content

Commit

Permalink
- re-packaging
Browse files Browse the repository at this point in the history
  • Loading branch information
canonic-epicure committed Aug 26, 2011
1 parent e4654e8 commit 83a7dbb
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 11 deletions.
1 change: 1 addition & 0 deletions dist.ini
Expand Up @@ -17,6 +17,7 @@ copyright_holder = Nickolay Platonov <nplatonov@cpan.org>
; choose/generate files to include ; choose/generate files to include


[GatherDir] [GatherDir]
follow_symlinks = 1
[PruneCruft] [PruneCruft]
[PruneFiles] [PruneFiles]
match = ^misc/.* match = ^misc/.*
Expand Down
10 changes: 4 additions & 6 deletions lib/Joose.js
Expand Up @@ -8,15 +8,14 @@ Joose.is_IE = '\v' == 'v'
Joose.is_NodeJS = Boolean(typeof process != 'undefined' && process.pid) 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 () { Joose.stub = function () {
return function () { throw new Error("Modules can not be instantiated") } return function () { throw new Error("Modules can not be instantiated") }
} }




Joose.VERSION = ({ /*VERSION*/ }).VERSION Joose.VERSION = ({ /*VERSION*/ }).VERSION
Joose.AUTHORITY = 'jsan:NPLATONOV'




// Static helpers for Arrays // Static helpers for Arrays
Expand Down Expand Up @@ -111,6 +110,7 @@ Joose.S = {
} }
} }


var baseFunc = function () {}


// Static helpers for objects // Static helpers for objects
Joose.O = { Joose.O = {
Expand Down Expand Up @@ -157,11 +157,9 @@ Joose.O = {




getMutableCopy : function (object) { getMutableCopy : function (object) {
var f = function () {} baseFunc.prototype = object


f.prototype = object return new baseFunc()

return new f()
}, },




Expand Down
1 change: 1 addition & 0 deletions node_modules/test-run

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 4 additions & 5 deletions 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"> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html> <html>
<head> <head>
<link rel="stylesheet" type="text/css" href="../../ext-4.0.2a/resources/css/ext-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="/workspace/JavaScript/BuildFarm/Test-Run/resources/css/test-run-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="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="/workspace/JavaScript/BuildFarm/Test-Run/test-run-all.js"></script>


<script type="text/javascript" src="index.js"></script> <script type="text/javascript" src="index.js"></script>
</head> </head>
Expand Down
2 changes: 2 additions & 0 deletions t/index.js
Expand Up @@ -16,6 +16,8 @@ Harness.configure({
// cachePreload : true, // cachePreload : true,
// transparentEx : true, // transparentEx : true,


keepResults : false,

autoCheckGlobals : true, autoCheckGlobals : true,
expectedGlobals : [ expectedGlobals : [
'Joose', 'Class', 'Role', 'Module' 'Joose', 'Class', 'Role', 'Module'
Expand Down

0 comments on commit 83a7dbb

Please sign in to comment.