jenkins-bot has submitted this change and it was merged.
Change subject: [time.js] Move Time.js files into its own "src" directory so we
can add tests into "tests" directory
......................................................................
[time.js] Move Time.js files into its own "src" directory so we can add tests
into "tests" directory
Change-Id: I94805d17c48c9ebf0cd16f3e233d5c7ecea1fc29
---
M DataValues/DataValues.resources.php
R DataValues/resources/time.js/src/time.Time.js
R DataValues/resources/time.js/src/time.Time.parse.js
R DataValues/resources/time.js/src/time.js
4 files changed, 19 insertions(+), 3 deletions(-)
Approvals:
Henning Snater: Looks good to me, approved
jenkins-bot: Verified
diff --git a/DataValues/DataValues.resources.php
b/DataValues/DataValues.resources.php
index da979e9..69121ae 100644
--- a/DataValues/DataValues.resources.php
+++ b/DataValues/DataValues.resources.php
@@ -88,9 +88,9 @@
// time.js
'time.js' => $moduleTemplate + array(
'scripts' => array(
- 'time.js/time.js',
- 'time.js/time.Time.js',
- 'time.js/time.Time.parse.js',
+ 'time.js/src/time.js',
+ 'time.js/src/time.Time.js',
+ 'time.js/src/time.Time.parse.js',
)
),
diff --git a/DataValues/resources/time.js/time.Time.js
b/DataValues/resources/time.js/src/time.Time.js
similarity index 98%
rename from DataValues/resources/time.js/time.Time.js
rename to DataValues/resources/time.js/src/time.Time.js
index 37c8748..10ea609 100644
--- a/DataValues/resources/time.js/time.Time.js
+++ b/DataValues/resources/time.js/src/time.Time.js
@@ -1,6 +1,11 @@
/**
* time.js's Time constructor for parsing and representing a time.
*
+ * @since 0.1
+ * @file
+ * @ingroup Time.js
+ * @licence GNU GPL v2+
+ *
* @author Denny Vrandečić
* @author Daniel Werner < [email protected] >
*/
diff --git a/DataValues/resources/time.js/time.Time.parse.js
b/DataValues/resources/time.js/src/time.Time.parse.js
similarity index 98%
rename from DataValues/resources/time.js/time.Time.parse.js
rename to DataValues/resources/time.js/src/time.Time.parse.js
index 448fedc..3627cc4 100644
--- a/DataValues/resources/time.js/time.Time.parse.js
+++ b/DataValues/resources/time.js/src/time.Time.parse.js
@@ -1,6 +1,11 @@
/**
* time.js's Time parser.
*
+ * @since 0.1
+ * @file
+ * @ingroup Time.js
+ * @licence GNU GPL v2+
+ *
* @author Denny Vrandečić
* @author Daniel Werner < [email protected] >
*/
diff --git a/DataValues/resources/time.js/time.js
b/DataValues/resources/time.js/src/time.js
similarity index 98%
rename from DataValues/resources/time.js/time.js
rename to DataValues/resources/time.js/src/time.js
index f5f0122..caaaf19 100644
--- a/DataValues/resources/time.js/time.js
+++ b/DataValues/resources/time.js/src/time.js
@@ -2,7 +2,13 @@
* time.js by Denny Vrandečić
* Source: http://simia.net/valueparser/time.js
*
+ * VERSION: 0.1
+ *
+ * @since 0.1
+ * @file
+ * @ingroup Time.js
* @licence GNU GPL v2+
+ *
* @author Denny Vrandečić
*/
( function( global ) {
--
To view, visit https://gerrit.wikimedia.org/r/63676
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I94805d17c48c9ebf0cd16f3e233d5c7ecea1fc29
Gerrit-PatchSet: 2
Gerrit-Project: mediawiki/extensions/DataValues
Gerrit-Branch: master
Gerrit-Owner: Daniel Werner <[email protected]>
Gerrit-Reviewer: Henning Snater <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits