Skip to content

Commit 1d02b92

Browse files
author
Denys Rul
committed
MAGETWO-33947: Story stabilization
- Add copyright placeholders
1 parent 3d45c9c commit 1d02b92

File tree

9 files changed

+48
-0
lines changed

9 files changed

+48
-0
lines changed

dev/tests/js/spec/assets/apply/components/fn.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,20 @@
1+
/**
2+
* Copyright © 2015 Magento. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
15
define([], function () {
26
'use strict';
37

8+
/**
9+
* Function used to be a placeholder for mage-init directive.
10+
*/
411
function fn() {
512
fn.testCallback.apply(fn, arguments);
613
}
714

15+
/**
16+
* Function whose call wll be tested.
17+
*/
818
fn.testCallback = function () {};
919

1020
return fn;

dev/tests/js/spec/assets/apply/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Copyright © 2015 Magento. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
15
define([
26
'tests/tools',
37
'tests/assets/apply/components/fn',

dev/tests/js/spec/assets/apply/templates/node.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--
2+
/**
3+
* Copyright © 2015 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
-->
17
<div id="<%= containerId %>">
28
<div id="<%= nodeId %>"
39
<%= dataAttr %>='<%= JSON.stringify(nodeData) %>'></div>

dev/tests/js/spec/assets/script/index.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Copyright © 2015 Magento. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
15
define([
26
'tests/tools',
37
'text!./config.json',

dev/tests/js/spec/assets/script/templates/selector.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--
2+
/**
3+
* Copyright © 2015 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
-->
17
<div id="<%= containerId %>">
28
<div
39
id="<%= nodeId %>"

dev/tests/js/spec/assets/script/templates/virtual.html

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
<!--
2+
/**
3+
* Copyright © 2015 Magento. All rights reserved.
4+
* See COPYING.txt for license details.
5+
*/
6+
-->
17
<div id="<%= containerId %>">
28
<script id="<%= scriptId %>" type="text/x-magento-init">
39
<%= JSON.stringify(scriptData) %>

dev/tests/js/spec/integration/lib/mage/apply.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Copyright © 2015 Magento. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
15
define([
26
'underscore',
37
'tests/tools',

dev/tests/js/spec/integration/lib/mage/scripts.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Copyright © 2015 Magento. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
15
define([
26
'tests/tools',
37
'tests/assets/script/index',

dev/tests/js/spec/tools.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* Copyright © 2015 Magento. All rights reserved.
3+
* See COPYING.txt for license details.
4+
*/
15
define([
26
'underscore'
37
], function (_) {

0 commit comments

Comments
 (0)