-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12 from InDIOS/development
Bump to version 0.2.4
- Loading branch information
Showing
62 changed files
with
1,002 additions
and
3,752 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<h2>Component Blue:</h2> | ||
<p style="color: blue">Blue {{ name }}</p> | ||
<p style="color: blue">Blue {{ text }}</p> | ||
|
||
<script> | ||
export default { | ||
attrs: ['name'] | ||
attrs: ['text'] | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<h2>Component Green:</h2> | ||
<span style="color: green">Green {{ name }}</span> | ||
<span style="color: green">Green {{ text }}</span> | ||
|
||
<script> | ||
export default { | ||
attrs: ['name'] | ||
attrs: ['text'] | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
<h2>Component Red:</h2> | ||
<span style="color: red">Red {{ name }}</span> | ||
<span style="color: red">Red {{ text }}</span> | ||
|
||
<script> | ||
export default { | ||
attrs: ['name'] | ||
attrs: ['text'] | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<input id="checkbox_1" type="checkbox" $name="checkboxes" :value="{ value: 'No' }"> | ||
<input id="checkbox_2" type="checkbox" $name="checkboxes" :value="{ value: 'Yes' }"> | ||
|
||
<script> | ||
export default { | ||
model: { | ||
checkboxes: [] | ||
} | ||
}; | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
phantom.injectJs('index.iif.js'); | ||
|
||
var app = new Index(); | ||
app.$mount('body'); | ||
|
||
var input_1 = document.querySelector('#checkbox_1'); | ||
var input_2 = document.querySelector('#checkbox_2'); | ||
|
||
fireEvent('MouseEvents', input_1, 'click'); | ||
fireEvent('MouseEvents', input_2, 'click'); | ||
|
||
console.log('Model Value:', JSON.stringify(app.checkboxes)); | ||
console.log('Input 1 Value:', input_1.value, typeof input_1.value); | ||
console.log('Input 1 _Value:', input_1._value, typeof input_1._value); | ||
console.log('Input 2 Value:', input_2.value, typeof input_2.value); | ||
console.log('Input 2 _Value:', input_2._value, typeof input_2._value); | ||
|
||
phantom.exit(); | ||
|
||
function fireEvent(type, el, name) { // element to click on | ||
// Create the event. | ||
var event = document.createEvent(type); | ||
// Define that the event name is 'build'. | ||
event.initEvent(name, true, true); | ||
// target can be any Element or other EventTarget. | ||
return el.dispatchEvent(event); | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.