Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Minify version 0.7.0

  • Loading branch information...
commit 49c60f711ff9b35d39e527f920e63e3fc74bffac 1 parent c6efa0d
@ryanve authored
Showing with 4 additions and 4 deletions.
  1. +1 −1  aok.js
  2. +2 −2 aok.min.js
  3. +1 −1  package.json
View
2  aok.js
@@ -9,7 +9,7 @@
/*jslint browser: true, devel: true, node: true, passfail: false, bitwise: true
, continue: true, debug: true, eqeq: true, es5: true, forin: true, newcap: true
, nomen: true, plusplus: true, regexp: true, undef: true, sloppy: true, stupid: true
-, sub: true, white: true, indent: 4, maxerr: 180 */
+, sub: true, white: true, indent: 4, maxerr: 100 */
(function(root, name, definition) {// github.com/umdjs/umd
if (typeof module != 'undefined' && module['exports']) {
View
4 aok.min.js
@@ -1,3 +1,3 @@
-/*! aok 0.6.2 | test suite api by @ryanve | @link github.com/ryanve/aok | @license MIT */
+/*! aok 0.7.0 | test suite api by @ryanve | @link github.com/ryanve/aok | @license MIT */
(function(d,b,c){"undefined"!=typeof module&&module.exports?module.exports=c():d[b]=c()})(this,"aok",function(){function d(a){var b;if(null!=a){for(b in a)this[b]=a[b];this.run()}}function b(a){return new d(a)}var c=window,f=document,e=c.console,g=c.alert;b.prototype=d.prototype;b.prototype.pass="Pass";b.prototype.fail="Fail";b.prototype.run=function(){if(!(this instanceof b))throw new TypeError;"function"==typeof this.test&&(this.test=this.test());this.test=!!this.test;this.handler&&this.handler()};
-b.prototype.handler=function(){var a=this[this.test?"pass":"fail"];"string"==typeof a?b.log("#"+this.id+": "+a):"function"==typeof a&&a.call(this)};b.id=function(a){return f.getElementById(a)};c=function(a,c){b[a]=b.prototype[a]=e&&"function"==typeof e[a]?function(){e[a].apply(e,arguments)}:c?function(){g(a+": "+[].join.call(arguments," "))}:function(){}};c("log");c("trace");c("info",1);c("warn",1);c("error",1);c("trace",1);return b});
+b.prototype.handler=function(){var a=this[this.test?"pass":"fail"];"string"==typeof a?b.log("#"+this.id+": "+a):"function"==typeof a&&a.call(this)};b.id=function(a){return f.getElementById(a)};c=function(a,c){b[a]=e&&"function"==typeof e[a]?function(){e[a].apply(e,arguments)}:c?function(){g(a+": "+[].join.call(arguments," "))}:function(){}};c("log");c("trace");c("info",1);c("warn",1);c("error",1);c("trace",1);return b});
View
2  package.json
@@ -1,7 +1,7 @@
{
"name": "aok",
"description": "Test suite API.",
- "version": "0.6.2",
+ "version": "0.7.0",
"homepage": "https://github.com/ryanve/aok",
"author": "Ryan Van Etten <@ryanve>",
"keywords": ["testing", "test suite", "javascript", "ender"],
Please sign in to comment.
Something went wrong with that request. Please try again.