// some work on style sheets
This commit is contained in:
+14
@@ -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
@@ -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>
|
||||
@@ -0,0 +1,3 @@
|
||||
define({
|
||||
name: 'hasOwnProperty'
|
||||
});
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
define({
|
||||
name: 'prototype'
|
||||
});
|
||||
@@ -0,0 +1,3 @@
|
||||
define({
|
||||
name: 'toString'
|
||||
});
|
||||
Reference in New Issue
Block a user