3.0 source code
This commit is contained in:
14
OfficeWeb/vendor/requirejs/tests/hasOwnProperty/hasOwnProperty-tests.js
vendored
Normal file
14
OfficeWeb/vendor/requirejs/tests/hasOwnProperty/hasOwnProperty-tests.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
require(["toString", "hasOwnProperty", "prototype"], function(toString, hop, p) {
|
||||
doh.register(
|
||||
"hasOwnPropertyTests",
|
||||
[
|
||||
function hasOwnPropertyTests(t){
|
||||
t.is("toString", toString.name);
|
||||
t.is("hasOwnProperty", hop.name);
|
||||
t.is("prototype", p.name);
|
||||
}
|
||||
]
|
||||
);
|
||||
doh.run();
|
||||
}
|
||||
);
|
||||
13
OfficeWeb/vendor/requirejs/tests/hasOwnProperty/hasOwnProperty.html
vendored
Normal file
13
OfficeWeb/vendor/requirejs/tests/hasOwnProperty/hasOwnProperty.html
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>require.js: hasOwnProperty Test</title>
|
||||
<script type="text/javascript" src="../doh/runner.js"></script>
|
||||
<script type="text/javascript" src="../doh/_browserRunner.js"></script>
|
||||
<script type="text/javascript" data-main="hasOwnProperty-tests.js" src="../../require.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<h1>require.js: hasOwnProperty Test</h1>
|
||||
<p>Check console for messages</p>
|
||||
</body>
|
||||
</html>
|
||||
3
OfficeWeb/vendor/requirejs/tests/hasOwnProperty/hasOwnProperty.js
vendored
Normal file
3
OfficeWeb/vendor/requirejs/tests/hasOwnProperty/hasOwnProperty.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
define({
|
||||
name: 'hasOwnProperty'
|
||||
});
|
||||
3
OfficeWeb/vendor/requirejs/tests/hasOwnProperty/prototype.js
vendored
Normal file
3
OfficeWeb/vendor/requirejs/tests/hasOwnProperty/prototype.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
define({
|
||||
name: 'prototype'
|
||||
});
|
||||
3
OfficeWeb/vendor/requirejs/tests/hasOwnProperty/toString.js
vendored
Normal file
3
OfficeWeb/vendor/requirejs/tests/hasOwnProperty/toString.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
define({
|
||||
name: 'toString'
|
||||
});
|
||||
Reference in New Issue
Block a user