Skip to content

Commit f278f7e

Browse files
committed
Merge pull request #7 from kazu69/fix_test
fixed test
2 parents 8a7a231 + 9274f1e commit f278f7e

File tree

2 files changed

+10
-11
lines changed

2 files changed

+10
-11
lines changed

Gruntfile.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ module.exports = function(grunt) {
3131
match: /hoge/g,
3232
replacement: 'fuga'
3333
}
34-
],
35-
reporterOutput: './log/grunt.log',
34+
]
3635
},
3736
dest: {
3837
src: ['./test/*.phtml']

test/index.phtml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,8 @@ ecoh 'test';
44
<!doctype html>
55
<html lang="en">
66
<head>
7-
<meta charset="UTF-8">
7+
<meta charset="UTF-8" />
88
<title>TEST</title>
9-
<script>
10-
var a, b, c;
11-
<?php if(true): ?>
12-
var test = 'test';
13-
<?prp endif: ?>
14-
console.log(test);
15-
</script>
169
</head>
1710
<body>
1811
<?php /*
@@ -28,12 +21,19 @@ ecoh 'test';
2821
<p>hoge</p>
2922
<ul id="test">
3023
<?php foreach($array as $val): ?>
31-
<li class='item'>
24+
<li class="item">
3225
<a onlick="void(0);" href="<?php echo 'https://github.com'; ?>">github</a>
3326
</li>
3427
<?php endforeach; ?>
3528
</ul>
3629

3730
<small>hogemoge</small>
31+
<script>
32+
var a, b, c;
33+
<?php if(true): ?>
34+
var test = 'test';
35+
<?prp endif: ?>
36+
console.log(test);
37+
</script>
3838
</body>
3939
</html>

0 commit comments

Comments
 (0)