-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/poc-meaningful-semantic-understa…
…nding-of-file-changes' into poc-meaningful-semantic-understanding-of-file-changes-xml
- Loading branch information
Showing
16 changed files
with
182 additions
and
22 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
33 changes: 33 additions & 0 deletions
33
dev/TestModule/app/design/frontend/Ampersand/theme/Magento_Checkout/web/js/ignore.js
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,33 @@ | ||
/** | ||
* Some copyright header. | ||
* Goes here | ||
* | ||
* | ||
* foobar | ||
*/ | ||
define([ | ||
'abc123' | ||
], function (resolver) { | ||
'use strict'; | ||
|
||
/** | ||
* Some function comment. | ||
* | ||
* @param {Object} config - Optional configuration | ||
*/ | ||
function the_function_names_are_different(config) { | ||
// this has been overridden and the function is different now | ||
var foo = 1; | ||
} | ||
|
||
/** | ||
* Some other function comment | ||
* | ||
* @param {Object} config - Optional configuration | ||
*/ | ||
function init(config) { | ||
resolver(the_function_names_are_different.bind(config)); | ||
} | ||
|
||
return init; | ||
}); |
40 changes: 40 additions & 0 deletions
40
dev/TestModule/app/design/frontend/Ampersand/theme/Magento_Checkout/web/js/redundant.js
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,40 @@ | ||
/** | ||
* Some copyright header. | ||
* Goes here | ||
*/ | ||
define([ | ||
'abc123' | ||
], function (resolver) { | ||
'use strict'; | ||
|
||
/** | ||
* Some function comment. | ||
* | ||
* @param {Object} config - Optional configuration | ||
*/ | ||
function foobar(config) { | ||
var foo = 1; | ||
} | ||
|
||
|
||
/** | ||
* what comments // do we have here | ||
* /* | ||
* | ||
* oh what comments are here | ||
* / | ||
*/ | ||
|
||
|
||
/** | ||
* Some other function comment | ||
* | ||
* @param {Object} config - Optional configuration | ||
*/ | ||
function init(config) { | ||
resolver(foobar.bind(config)); | ||
} | ||
// more comments | ||
|
||
return init; | ||
}); |
29 changes: 29 additions & 0 deletions
29
dev/TestVendorModule/src/theme/Magento_Checkout/web/js/ignore.js
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,29 @@ | ||
/** | ||
* Some copyright header. | ||
* Goes here | ||
*/ | ||
define([ | ||
'abc123' | ||
], function (resolver) { | ||
'use strict'; | ||
|
||
/** | ||
* Some function comment. | ||
* | ||
* @param {Object} config - Optional configuration | ||
*/ | ||
function this_is_the_base_function_name(config) { | ||
var foo = 1; | ||
} | ||
|
||
/** | ||
* Some other function comment | ||
* | ||
* @param {Object} config - Optional configuration | ||
*/ | ||
function init(config) { | ||
resolver(this_is_the_base_function_name.bind(config)); | ||
} | ||
|
||
return init; | ||
}); |
36 changes: 36 additions & 0 deletions
36
dev/TestVendorModule/src/theme/Magento_Checkout/web/js/redundant.js
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,36 @@ | ||
/** | ||
* Some copyright header. | ||
* Goes here | ||
*/ | ||
define([ | ||
'abc123' | ||
], function (resolver) { | ||
'use strict'; | ||
|
||
|
||
// more comments | ||
/* | ||
like this | ||
*/ | ||
/** | ||
* Some function comment. | ||
* | ||
* @param {Object} config - Optional configuration | ||
*/ | ||
function foobar(config) { | ||
var foo = 1; | ||
} | ||
|
||
// more comments | ||
|
||
/** | ||
* Some other function comment | ||
* | ||
* @param {Object} config - Optional configuration | ||
*/ | ||
function init(config) { | ||
resolver(foobar.bind(config)); | ||
} | ||
|
||
return init; | ||
}); |
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
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.