Skip to content
Browse files

gallery-2014.02.13-03-13 jafl gallery-datetime

  • Loading branch information...
1 parent 3caf23b commit cbb6ea7db7c6849052d8ce7ab70d28b002ff1b6d Ezequiel committed Feb 12, 2014
View
4 build/gallery-datetime/assets/skins/sam/gallery-datetime-skin.css
@@ -5,10 +5,10 @@
.yui3-skin-sam .yui3-calendar .yui3-datetime-partial
{
- background-image: url("http://yui.yahooapis.com/gallery-2013.06.26-23-09/gallery-datetime/assets/skins/sam/partial_day.gif");
+ background-image: url("http://yui.yahooapis.com/gallery-2014.02.13-03-13/gallery-datetime/assets/skins/sam/partial_day.gif");
}
.yui3-skin-sam .yui3-calendar .yui3-datetime-partial:hover
{
- background-image: url("http://yui.yahooapis.com/gallery-2013.06.26-23-09/gallery-datetime/assets/skins/sam/partial_day.gif");
+ background-image: url("http://yui.yahooapis.com/gallery-2014.02.13-03-13/gallery-datetime/assets/skins/sam/partial_day.gif");
}
View
2 build/gallery-datetime/assets/skins/sam/gallery-datetime.css
@@ -1 +1 @@
-.yui3-skin-sam .yui3-datetime-ping{background-color:#fcc}.yui3-skin-sam .yui3-calendar .yui3-datetime-partial{background-image:url("http://yui.yahooapis.com/gallery-2013.06.26-23-09/gallery-datetime/assets/skins/sam/partial_day.gif")}.yui3-skin-sam .yui3-calendar .yui3-datetime-partial:hover{background-image:url("http://yui.yahooapis.com/gallery-2013.06.26-23-09/gallery-datetime/assets/skins/sam/partial_day.gif")}#yui3-css-stamp.skin-sam-gallery-datetime{display:none}
+.yui3-skin-sam .yui3-datetime-ping{background-color:#fcc}.yui3-skin-sam .yui3-calendar .yui3-datetime-partial{background-image:url("http://yui.yahooapis.com/gallery-2014.02.13-03-13/gallery-datetime/assets/skins/sam/partial_day.gif")}.yui3-skin-sam .yui3-calendar .yui3-datetime-partial:hover{background-image:url("http://yui.yahooapis.com/gallery-2014.02.13-03-13/gallery-datetime/assets/skins/sam/partial_day.gif")}#yui3-css-stamp.skin-sam-gallery-datetime{display:none}
View
4 build/gallery-datetime/gallery-datetime-coverage.js
2 additions, 2 deletions not shown because the diff is too large. Please use a local Git client to view these changes.
View
2 build/gallery-datetime/gallery-datetime-debug.js
@@ -883,7 +883,7 @@ Y.extend(DateTime, Y.Base,
Y.DateTime = DateTime;
-}, 'gallery-2013.06.26-23-09', {
+}, 'gallery-2014.02.13-03-13', {
"skinnable": "true",
"requires": [
"base",
View
2 build/gallery-datetime/gallery-datetime-min.js
@@ -1,2 +1,2 @@
YUI.add("gallery-datetime",function(e,t){"use strict";function s(e){s.superclass.constructor.apply(this,arguments)}function o(t){return e.one(t)||Attribute.INVALID_VALUE}function u(t){return t?e.DateTimeUtils.normalize(t,this.get("blankTime")):null}function a(){this.ignore_value_set||f.call(this,"same-day")}function f(t){var n=this.getDateTime();if(!n&&this.get("allowBlank")){var r=this.get("dateInput").get("value").length;if(r===0){this.ignore_value_set=!0,this.get("timeInput").set("value",""),this.ignore_value_set=!1,this.prev_date_time=null;return}if(r>0&&this.get("timeInput").get("value").length===0){this.get("timeInput").set("value",e.DateTimeUtils.formatTime(this.get("blankTime")));return}}if(!n&&this.prev_date_time)n=e.clone(this.prev_date_time),this.ignore_value_set=!0,this.get("dateInput").set("value",e.DateTimeUtils.formatDate(n)),this.get("timeInput").set("value",e.DateTimeUtils.formatTime(n)),this.ignore_value_set=!1;else if(!n)return;n=n.date;var i=new Date(n.getTime()),s=this.get("blackouts");if(s.length>0){var o=n.getTime(),a=o,f=t=="same-day"?0:this.get("blackoutSnapDirection");for(var c=0;c<s.length;c++){var h=s[c];if(h[0]<o&&o<h[1]){f>0?o=h[1]+6e4:f<0?o=h[0]:o-h[0]<h[1]-o?o=h[0]:o=h[1]+6e4;break}}o!=a&&(n=new Date(o))}var p=this.get("minDateTime");if(p){var o=p.date.getTime();if(s.length>0){var a=o,c=0;while(c<s.length&&s[c][0]<o)o=Math.max(a,s[c][1]),c++}n.getTime()<o&&(n=new Date(o))}var d=this.get("maxDateTime");if(d){var o=d.date.getTime();if(s.length>0){var a=o,c=s.length-1;while(c>=0&&o<s[c][1])o=Math.min(a,s[c][0]),c--}o<n.getTime()&&(n=new Date(o))}if(n.getFullYear()!==i.getFullYear()||n.getMonth()!==i.getMonth()||n.getDate()!==i.getDate()){var v=l.call(this);v.dateInput=e.DateTimeUtils.formatDate(n),v.timeInput=e.DateTimeUtils.formatTime(n)}else if(n.getHours()!==i.getHours()||n.getMinutes()!==i.getMinutes()){var v=l.call(this);v.timeInput=e.DateTimeUtils.formatTime(n)}else this.fire("limitsEnforced");this.prev_date_time=u.call(this,n)}function l(){return this.enforce_timer||(this.enforce_timer=e.later(0,this,c)),this.enforce_timer}function c(){var t=this.enforce_timer;this.enforce_timer=null;var n=[];this.ignore_value_set=!0,e.each(["dateInput","timeInput"],function(e){t[e]&&(this.get(e).set("value",t[e]),n.push(e))},this),this.ignore_value_set=!1,d.apply(this,n),this.fire("limitsEnforced")}function h(){function t(){var t=u;e.each(arguments,function(e){t[e]||(t[e]={}),t=t[e]})}function i(e,n){var r=e.getFullYear(),i=e.getMonth(),s=e.getDate();t(r,i,s),u[r][i][s]=n}function s(e,t){var n=new Date(e);n.setDate(n.getDate()+t);while(n.getMonth()==e.getMonth())i(n,"disabled"),n.setDate(n.getDate()+t)}if(!this.calendar)return;var o=this.get("blackouts").slice(0),u={},a=this.get("minDateTime");if(a){if(o.length>0){var f=a.date.getTime(),l=!1;for(var c=0;c<o.length;c++){var h=o[c];if(h[1]<=f)o.shift(),c--;else if(h[0]<f){var d=new Date(h[0]);d.setHours(0),d.setMinutes(0),d.setSeconds(n),o[c]=[d.getTime(),h[1]],l=!0;break}}}!l&&(a.hour>0||a.minute>0)&&i(a.date,"partial"),s(a.date,-1)}var v=this.get("maxDateTime");if(v){if(o.length>0){var f=v.date.getTime(),l=!1;for(var c=o.length-1;c>=0;c--){var h=o[c];if(f<=h[0])o.pop();else if(f<h[1]){var m=new Date(h[1]);m.setHours(23),m.setMinutes(59),m.setSeconds(r),o[c]=[h[0],m.getTime()],l=!0;break}}}!l&&(v.hour<23||v.minute<59)&&i(v.date,"partial"),s(v.date,1)}for(var c=0;c<o.length;c++){var h=o[c],d=new Date(h[0]+r*1e3),m=new Date(h[1]+n*1e3);if(d.getHours()>0||d.getMinutes()>0)i(d,"partial"),d.setDate(d.getDate()+1),d.setHours(0);if(m.getHours()<23||m.getMinutes()<59)i(m,"partial"),m.setDate(m.getDate()-1),m.setHours(23);while(d.getTime()<m.getTime())i(d,"disabled"),d.setDate(d.getDate()+1)}this.calendar.set("customRenderer",{rules:u,filterFunction:p})}function p(t,n,r){e.Array.indexOf(r,"partial")>=0?n.addClass("yui3-datetime-partial"):e.Array.indexOf(r,"disabled")>=0&&n.addClass("yui3-calendar-selection-disabled")}function d(){var t=this.get("pingDuration");if(t<=0)return;var n=new e.NodeList(e.reduce(arguments,[],function(e,t){return e.push(this.get(t)),e},this)),r=this.get("pingClass");this.ping_task&&(this.ping_task.nodes.removeClass(r),this.ping_task.cancel(),n=n.concat(this.ping_task.nodes)),n.addClass(r),this.ping_task=e.later(t,this,function(){this.ping_task=null,n.removeClass(r)}),this.ping_task.nodes=n}var n=-40,r=40,i=0<e.UA.ie;s.NAME="datetime",s.ATTRS={dateInput:{setter:o,writeOnce:!0},timeInput:{setter:o,writeOnce:!0},allowBlank:{value:!0,validator:e.Lang.isBoolean},defaultDateTime:{setter:u},minDateTime:{setter:u},maxDateTime:{setter:u},blankTime:{value:{hour:0,minute:0},validator:function(t){return e.Lang.isObject(t)&&e.Lang.isNumber(t.hour)&&e.Lang.isNumber(t.minute)}},blackouts:{value:[],validator:e.Lang.isArray,setter:function(t){t=t||[];var i=[],s=this.get("blankTime");for(var o=0;o<t.length;o++){var u=t[o];u.start=e.DateTimeUtils.normalize(u.start,s),u.end=e.DateTimeUtils.normalize(u.end,s),u=[(new Date(u.start.year,u.start.month-1,u.start.day,u.start.hour,u.start.minute,n)).getTime(),(new Date(u.end.year,u.end.month-1,u.end.day,u.end.hour,u.end.minute,r)).getTime()];var a=!1;for(var f=0;f<i.length;f++){var l=i[f];if(u[0]<=l[0]){f>0&&u[0]<i[f-1][1]&&u[1]<=i[f-1][1]||(f>0&&u[0]-6e4<i[f-1][1]&&l[0]<u[1]+6e4?(u=[i[f-1][0],u[1]],i.splice(f-1,2,u)):f>0&&u[0]-6e4<i[f-1][1]?i[f-1][1]=u[1]:l[0]<u[1]+6e4?l[0]=u[0]:i.splice(f,0,u)),a=!0;break}}!a&&f>0&&u[0]<i[f-1][1]&&u[1]<=i[f-1][1]||(!a&&f>0&&u[0]-6e4<i[f-1][1]?i[f-1][1]=u[1]:a||i.push(u))}return i}},blackoutSnapDirection:{value:0,validator:function(e){return e==-1||e===0||e==+1}},pingDuration:{value:2e3,validator:e.Lang.isNumber},pingClass:{value:"yui3-datetime-ping",validator:e.Lang.isString}},e.extend(s,e.Base,{initializer:function(t,n){function l(e,t){t.newVal?(f.call(this),this.calendar&&this.calendar.set(e,t.newVal.date)):this.calendar&&this.calendar.set(e,null),h.call(this)}var r=this.get("dateInput"),i=this.get("timeInput");if(!i){i=e.Node.create('<input type="hidden"></input>'
-),this.set("timeInput",i),i.set("value",e.DateTimeUtils.formatTime(this.get("blankTime")));var s=!0}var o=this.get("defaultDateTime");o&&(r.set("value",e.DateTimeUtils.formatDate(o)),s||i.set("value",e.DateTimeUtils.formatTime(o)),this.prev_date_time=o);if(r.calendarSync){this.calendar=r.calendarSync.get("calendar"),this.calendar&&o&&this.calendar.set("date",o.date);var u=this.get("minDateTime");this.calendar&&u&&this.calendar.set("minimumDate",u.date),u=this.get("maxDateTime"),this.calendar&&u&&this.calendar.set("maximumDate",u.date),this.set("allowBlank",r.calendarSync.get("allowBlank"))}r.on("change",f,this),r.after("valueSet",a,this),i.on("change",f,this),i.after("valueSet",a,this),f.call(this),this.after("minDateTimeChange",e.bind(l,this,"minimumDate")),this.after("maxDateTimeChange",e.bind(l,this,"maximumDate")),this.after("blackoutsChange",function(){f.call(this),h.call(this)}),h.call(this)},getDateTime:function(){try{var t=e.DateTimeUtils.parseDate(this.get("dateInput").get("value"));if(!t)return!1}catch(n){return!1}try{var r=e.DateTimeUtils.parseTime(this.get("timeInput").get("value"));if(!r)return!1}catch(n){return!1}var i=e.DateTimeUtils.normalize(e.mix(t,r));return i.date_str=e.DateTimeUtils.formatDate(i),i.time_str=e.DateTimeUtils.formatTime(i),i},setDateTime:function(t){t=u.call(this,t),t&&(this.ignore_value_set=!0,this.get("dateInput").set("value",e.DateTimeUtils.formatDate(t)),this.get("timeInput").set("value",e.DateTimeUtils.formatTime(t)),this.ignore_value_set=!1,f.call(this))},resetDateTime:function(){var e=this.get("defaultDateTime");if(e)this.setDateTime(e);else{if(!this.get("allowBlank"))return;this.clearDateTime()}f.call(this)},clearDateTime:function(){this.get("allowBlank")?this.get("dateInput").set("value",""):this.resetDateTime()}}),e.DateTime=s},"gallery-2013.06.26-23-09",{skinnable:"true",requires:["base","gallery-datetime-utils","gallery-funcprog"],optional:["calendar","gallery-timepicker"]});
+),this.set("timeInput",i),i.set("value",e.DateTimeUtils.formatTime(this.get("blankTime")));var s=!0}var o=this.get("defaultDateTime");o&&(r.set("value",e.DateTimeUtils.formatDate(o)),s||i.set("value",e.DateTimeUtils.formatTime(o)),this.prev_date_time=o);if(r.calendarSync){this.calendar=r.calendarSync.get("calendar"),this.calendar&&o&&this.calendar.set("date",o.date);var u=this.get("minDateTime");this.calendar&&u&&this.calendar.set("minimumDate",u.date),u=this.get("maxDateTime"),this.calendar&&u&&this.calendar.set("maximumDate",u.date),this.set("allowBlank",r.calendarSync.get("allowBlank"))}r.on("change",f,this),r.after("valueSet",a,this),i.on("change",f,this),i.after("valueSet",a,this),f.call(this),this.after("minDateTimeChange",e.bind(l,this,"minimumDate")),this.after("maxDateTimeChange",e.bind(l,this,"maximumDate")),this.after("blackoutsChange",function(){f.call(this),h.call(this)}),h.call(this)},getDateTime:function(){try{var t=e.DateTimeUtils.parseDate(this.get("dateInput").get("value"));if(!t)return!1}catch(n){return!1}try{var r=e.DateTimeUtils.parseTime(this.get("timeInput").get("value"));if(!r)return!1}catch(n){return!1}var i=e.DateTimeUtils.normalize(e.mix(t,r));return i.date_str=e.DateTimeUtils.formatDate(i),i.time_str=e.DateTimeUtils.formatTime(i),i},setDateTime:function(t){t=u.call(this,t),t&&(this.ignore_value_set=!0,this.get("dateInput").set("value",e.DateTimeUtils.formatDate(t)),this.get("timeInput").set("value",e.DateTimeUtils.formatTime(t)),this.ignore_value_set=!1,f.call(this))},resetDateTime:function(){var e=this.get("defaultDateTime");if(e)this.setDateTime(e);else{if(!this.get("allowBlank"))return;this.clearDateTime()}f.call(this)},clearDateTime:function(){this.get("allowBlank")?this.get("dateInput").set("value",""):this.resetDateTime()}}),e.DateTime=s},"gallery-2014.02.13-03-13",{skinnable:"true",requires:["base","gallery-datetime-utils","gallery-funcprog"],optional:["calendar","gallery-timepicker"]});
View
2 build/gallery-datetime/gallery-datetime.js
@@ -883,7 +883,7 @@ Y.extend(DateTime, Y.Base,
Y.DateTime = DateTime;
-}, 'gallery-2013.06.26-23-09', {
+}, 'gallery-2014.02.13-03-13', {
"skinnable": "true",
"requires": [
"base",
View
1 src/gallery-datetime/-range/tests/unit/test.html
@@ -3,6 +3,7 @@
<head>
<script src="/build/yui/yui-min.js"></script>
<script type="text/javascript" src="assets/tests.js"></script>
+<script type="text/javascript" src="../../../../build/gallery-datetime-range/gallery-datetime-range.js"></script>
</head>
<body class="yui3-skin-sam">
View
41 src/gallery-datetime/-utils/js/utils.js
@@ -283,7 +283,7 @@ Y.DateTimeUtils =
var d = date.split(delimiter);
if (d.length != 3 || !Y.every(d, validInteger))
{
- throw Error('Unparseable date format.');
+ throw Error('Unparseable date format: ' + date);
}
return self.normalize(
@@ -332,9 +332,22 @@ Y.DateTimeUtils =
if (self.CLOCK_DISPLAY_TYPE == 12)
{
var s = self.TIME_FIELD_DELIMITER + pad2(time.minute) + ' ';
- return (time.hour > 12 ?
- (time.hour - 12) + s + self.PM_STRING :
- time.hour + s + self.AM_STRING);
+ if (time.hour === 0)
+ {
+ return '12' + s + self.AM_STRING;
+ }
+ else if (time.hour === 12)
+ {
+ return '12' + s + self.PM_STRING;
+ }
+ else if (time.hour > 12)
+ {
+ return (time.hour - 12) + s + self.PM_STRING;
+ }
+ else
+ {
+ return time.hour + s + self.AM_STRING;
+ }
}
else
{
@@ -365,27 +378,37 @@ Y.DateTimeUtils =
}
var offset = 0,
- ampm = false;
+ am = false,
+ pm = false;
if (time.indexOf(self.AM_STRING) > 0)
{
- ampm = true;
+ am = true;
time = Y.Lang.trim(time.replace(self.AM_STRING, ''));
}
else if (time.indexOf(self.PM_STRING) > 0)
{
- ampm = true;
+ pm = true;
time = Y.Lang.trim(time.replace(self.PM_STRING, ''));
offset = 12;
}
var t = time.split(self.TIME_FIELD_DELIMITER);
- if (t.length == 1 && ampm)
+ if (t.length == 1 && (am || pm))
{
t[1] = 0;
}
else if (t.length < 2 || 3 < t.length || !Y.every(t, validInteger))
{
- throw Error('Unparseable time format.');
+ throw Error('Unparseable time format: ' + time);
+ }
+
+ if (am && t[0] == '12')
+ {
+ t[0] = 0;
+ }
+ else if (pm && t[0] == '12')
+ {
+ offset = 0;
}
var result =
View
24 src/gallery-datetime/-utils/tests/unit/assets/tests.js
@@ -53,8 +53,6 @@ YUI.add('gallery-datetime-utils-tests', function(Y) {
Y.Assert.areSame('2012-6-11', Y.DateTimeUtils.formatDate('2012-6-11'));
Y.Assert.areSame('2012-06-11', Y.DateTimeUtils.formatDate(date));
Y.Assert.areSame('2012-06-11', Y.DateTimeUtils.formatDate({year:2012, month:6, day:11}));
-
- Y.Assert.areSame('275760-09-12', Y.DateTimeUtils.formatDate(8640000000000000));
},
testParseDate: function()
@@ -105,14 +103,18 @@ YUI.add('gallery-datetime-utils-tests', function(Y) {
Y.Assert.areSame('14:05', Y.DateTimeUtils.formatTime({hour:14, minute:5}));
Y.Assert.areSame('2:05', Y.DateTimeUtils.formatTime({hour:2, minute:5}));
Y.Assert.areSame('14:05', Y.DateTimeUtils.formatTime(date));
- Y.Assert.areSame('17:00', Y.DateTimeUtils.formatTime(8640000000000000));
Y.DateTimeUtils.CLOCK_DISPLAY_TYPE = 12;
Y.Assert.areSame('2:05 AM', Y.DateTimeUtils.formatTime({hour:2, minute:5}));
Y.Assert.areSame('2:05 PM', Y.DateTimeUtils.formatTime({hour:14, minute:5}));
Y.Assert.areSame('2:05 PM', Y.DateTimeUtils.formatTime(date));
+ Y.Assert.areSame('12:00 AM', Y.DateTimeUtils.formatTime({hour:0, minute:0}));
+ Y.Assert.areSame('12:02 AM', Y.DateTimeUtils.formatTime({hour:0, minute:2}));
+ Y.Assert.areSame('12:00 PM', Y.DateTimeUtils.formatTime({hour:12, minute:0}));
+ Y.Assert.areSame('12:05 PM', Y.DateTimeUtils.formatTime({hour:12, minute:5}));
+
Y.DateTimeUtils.CLOCK_DISPLAY_TYPE = 24;
},
@@ -142,6 +144,22 @@ YUI.add('gallery-datetime-utils-tests', function(Y) {
var t = Y.DateTimeUtils.parseTime('10AM');
Y.Assert.areSame(10, t.hour);
Y.Assert.areSame(0, t.minute);
+
+ t = Y.DateTimeUtils.parseTime('12AM');
+ Y.Assert.areSame(0, t.hour);
+ Y.Assert.areSame(0, t.minute);
+
+ t = Y.DateTimeUtils.parseTime('12:05AM');
+ Y.Assert.areSame(0, t.hour);
+ Y.Assert.areSame(5, t.minute);
+
+ t = Y.DateTimeUtils.parseTime('12PM');
+ Y.Assert.areSame(12, t.hour);
+ Y.Assert.areSame(0, t.minute);
+
+ t = Y.DateTimeUtils.parseTime('12:01PM');
+ Y.Assert.areSame(12, t.hour);
+ Y.Assert.areSame(1, t.minute);
},
testParseTimeInvalidValue: function()
View
1 src/gallery-datetime/-utils/tests/unit/test.html
@@ -3,6 +3,7 @@
<head>
<script src="/build/yui/yui-min.js"></script>
<script type="text/javascript" src="assets/tests.js"></script>
+<script type="text/javascript" src="../../../../build/gallery-datetime-utils/gallery-datetime-utils.js"></script>
</head>
<body class="yui3-skin-sam">
View
4 src/gallery-datetime/logs/tests.json
@@ -5,8 +5,8 @@
"errors": 0,
"ignored": 0,
"total": 0,
- "duration": 6,
+ "duration": 2,
"type": "report",
- "timestamp": "Wed 26 Jun 2013 03:59:36 PM PDT",
+ "timestamp": "Wed 12 Feb 2014 07:13:33 PM PST",
"consoleInfo": []
}
View
27 src/gallery-datetime/logs/yogi.stdout.log
@@ -1,4 +1,4 @@
-yogi [info] using yogi@0.1.9 on node@0.8.22
+yogi [info] using yogi@0.1.11 on node@0.10.25
yogi [info] using module: gallery-datetime
yogi [info] running with shifter
shifter [info] racing to find the closest .shifter.json file
@@ -331,6 +331,7 @@ shifter [info] shifting into gear for gallery-datetime
/* map */ config) // line 691, pos 29
#161: 'container' is defined but never used.
/* object/string */ container, // line 690, pos 24
+shifter [queu] file has changed, continuing build
shifter [queu] writing RAW file
shifter [queu] compressing gallery-datetime/gallery-datetime.js with UglifyJS
shifter [queu] writing -min file
@@ -346,25 +347,25 @@ shifter [queu] copying assets to skin for sam
shifter [queu] writing skin file with core wrapper
shifter [queu] writing skin file without core wrapper
shifter [info] done racing, the gears are toast
-shifter [info] finished in 0.866 seconds, pretty fast huh?
+shifter [info] finished in 2.277 seconds, pretty fast huh?
yogi [info] build complete
yogi [info] testing module now
yogi [info] prepping grover tests
yogi [info] adding tests route
+yogi [info] launching xdr server on port 5005
+yogi [info] listening on: http://127.0.0.1:5004
yogi [info] turning on coverage support in grover
-yogi [info] launching xdr server on port 5003
-yogi [info] listening on: http://127.0.0.1:5002
-Starting Grover on 1 files with PhantomJS@1.7.0
+Starting Grover on 1 files with PhantomJS@1.9.7
Running 15 concurrent tests at a time.
Using a 120 second timeout per test.
-✔ [gallery-datetime]: Passed: 0 Failed: 0 Total: 0 (ignored 0) (0.002 seconds)
+✔ [gallery-datetime]: Passed: 0 Failed: 0 Total: 0 (ignored 0) (0.001 seconds)
Writing files in JSON format to: /src/gallery-datetime/logs/tests.json
-┌─────────┬─────────┬────────┬─────────────┬────────┐
-│ path │ lines │ % │ functions │ % 
-├─────────┼─────────┼────────┼─────────────┼────────┤
- total 0/0 NaN% 0/0 NaN%
-└─────────┴─────────┴────────┴─────────────┴────────┘
+┌─────────┬─────────┬────────┬─────────────┬────────┐
+│ path │ lines │ % │ functions │ % │
+├─────────┼─────────┼────────┼─────────────┼────────┤
+│ total │ 0/0 │ NaN% │ 0/0 │ NaN% │
+└─────────┴─────────┴────────┴─────────────┴────────┘
----------------------------------------------------------------
-✔ [Total]: Passed: 0 Failed: 0 Total: 0 (ignored 0) (0.002 seconds)
- [Grover Execution Timer] 1.09 seconds
+✔ [Total]: Passed: 0 Failed: 0 Total: 0 (ignored 0) (0.001 seconds)
+ [Grover Execution Timer] 1.915 seconds
yogi [info] grover tests complete
View
1 src/gallery-datetime/tests/unit/test.html
@@ -3,6 +3,7 @@
<head>
<script src="/build/yui/yui-min.js"></script>
<script type="text/javascript" src="assets/tests.js"></script>
+<script type="text/javascript" src="../../../../build/gallery-datetime/gallery-datetime.js"></script>
</head>
<body class="yui3-skin-sam">

0 comments on commit cbb6ea7

Please sign in to comment.
Something went wrong with that request. Please try again.