Search is not available for this dataset
id stringlengths 1 8 | text stringlengths 72 9.81M | addition_count int64 0 10k | commit_subject stringlengths 0 3.7k | deletion_count int64 0 8.43k | file_extension stringlengths 0 32 | lang stringlengths 1 94 | license stringclasses 10
values | repo_name stringlengths 9 59 |
|---|---|---|---|---|---|---|---|---|
10041150 | <NME> should.js <BEF> /* * should - test framework agnostic BDD-style assertions * @version v6.0.2 * @author TJ Holowaychuk <tj@vision-media.ca> and contributors * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFINED: 'undefined', STRING: '... | 4 | Release 6.0.3 | 4 | .js | js | mit | shouldjs/should.js |
10041151 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.2.3 * @author TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com> * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFIN... | 17 | Update years | 17 | .js | js | mit | shouldjs/should.js |
10041152 | <NME> should.js <BEF> /*! * should - test framework agnostic BDD-style assertions * @version v13.2.3 * @author TJ Holowaychuk <tj@vision-media.ca>, Denis Bardadym <bardadymchik@gmail.com> * @link https://github.com/shouldjs/should.js * @license MIT */ (function () { 'use strict'; var types = { NUMBER: 'number', UNDEFIN... | 17 | Update years | 17 | .js | js | mit | shouldjs/should.js |
10041153 | <NME> should.test.js
<BEF> /**
* Module dependencies.
*/
var assert = require("assert");
describe("should", function() {
it("test assertion", function() {
"test".should.be.a.String;
should.equal("foo", "foo");
});
it("test .expected and .actual", function() {
try {
"foo".should.equal("bar")... | 9 | Add everywhere shielded by Proxy this. Which check if property exist. | 1 | .js | test | mit | shouldjs/should.js |
10041154 | <NME> should.test.js
<BEF> /**
* Module dependencies.
*/
var assert = require("assert");
describe("should", function() {
it("test assertion", function() {
"test".should.be.a.String;
should.equal("foo", "foo");
});
it("test .expected and .actual", function() {
try {
"foo".should.equal("bar")... | 9 | Add everywhere shielded by Proxy this. Which check if property exist. | 1 | .js | test | mit | shouldjs/should.js |
10041155 | <NME> .zuul.yml
<BEF> ui: mocha-bdd
browsers:
- name: chrome
version: 52..latest
- name: ie
version: 10..latest
- name: edge
version: 13..latest
- name: firefox
version: 48..latest
- name: safari
version: 8..latest
<MSG> Set zuul to use 2 last versions of browsers
<DFF> @@ -1,12 +1,12 @@... | 5 | Set zuul to use 2 last versions of browsers | 5 | .yml | zuul | mit | shouldjs/should.js |
10041156 | <NME> .zuul.yml
<BEF> ui: mocha-bdd
browsers:
- name: chrome
version: 52..latest
- name: ie
version: 10..latest
- name: edge
version: 13..latest
- name: firefox
version: 48..latest
- name: safari
version: 8..latest
<MSG> Set zuul to use 2 last versions of browsers
<DFF> @@ -1,12 +1,12 @@... | 5 | Set zuul to use 2 last versions of browsers | 5 | .yml | zuul | mit | shouldjs/should.js |
10041157 | <NME> chain.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
export default function(should, Assertion) {
/**
* Simple chaining to improve readability. Does nothing.
*... | 1 | Added .the chaining getter | 1 | .js | js | mit | shouldjs/should.js |
10041158 | <NME> chain.js
<BEF> /*
* should.js - assertion library
* Copyright(c) 2010-2013 TJ Holowaychuk <tj@vision-media.ca>
* Copyright(c) 2013-2017 Denis Bardadym <bardadymchik@gmail.com>
* MIT Licensed
*/
export default function(should, Assertion) {
/**
* Simple chaining to improve readability. Does nothing.
*... | 1 | Added .the chaining getter | 1 | .js | js | mit | shouldjs/should.js |
10041159 | <NME> property.test.js
<BEF> var err = require("../util").err;
describe("property", function() {
it("test property(name)", function() {
"test".should.have.property("length");
(4).should.not.have.property("length");
err(function() {
"asd".should.have.property("foo");
}, "expected 'asd' to have ... | 2 | Added casting to string in properties assertions. Closes visionmedia/should.js#208 | 0 | .js | test | mit | shouldjs/should.js |
10041160 | <NME> property.test.js
<BEF> var err = require("../util").err;
describe("property", function() {
it("test property(name)", function() {
"test".should.have.property("length");
(4).should.not.have.property("length");
err(function() {
"asd".should.have.property("foo");
}, "expected 'asd' to have ... | 2 | Added casting to string in properties assertions. Closes visionmedia/should.js#208 | 0 | .js | test | mit | shouldjs/should.js |
10041161 | <NME> Conditionizr-spec.js
<BEF> ADDFILE
<MSG> Add initial tests for .add()
<DFF> @@ -0,0 +1,30 @@
+/**
+ * Conditionizr
+ */
+describe('Conditionizr', function () {
+
+ /**
+ * We should get an Object returned
+ */
+ it('should return an Object', function () {
+ expect(typeof conditionizr).toBe('object');
+ ... | 30 | Add initial tests for .add() | 0 | .js | js | mit | conditionizr/conditionizr |
10041162 | <NME> Conditionizr-spec.js
<BEF> ADDFILE
<MSG> Add initial tests for .add()
<DFF> @@ -0,0 +1,30 @@
+/**
+ * Conditionizr
+ */
+describe('Conditionizr', function () {
+
+ /**
+ * We should get an Object returned
+ */
+ it('should return an Object', function () {
+ expect(typeof conditionizr).toBe('object');
+ ... | 30 | Add initial tests for .add() | 0 | .js | js | mit | conditionizr/conditionizr |
10041163 | <NME> conditionizr.js
<BEF> (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory;
} else {
root.conditionizr = factory();
}
})(this, function () {
'use strict';
var conditionizr = {};
... | 1 | Improve regular expression | 1 | .js | js | mit | conditionizr/conditionizr |
10041164 | <NME> conditionizr.js
<BEF> (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory;
} else {
root.conditionizr = factory();
}
})(this, function () {
'use strict';
var conditionizr = {};
... | 1 | Improve regular expression | 1 | .js | js | mit | conditionizr/conditionizr |
10041165 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 2 | v3.0.0 | 2 | .md | md | mit | conditionizr/conditionizr |
10041166 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 2 | v3.0.0 | 2 | .md | md | mit | conditionizr/conditionizr |
10041167 | <NME> phantomjs.js
<BEF> /*!
* PhantomJS
*/
conditionizr.add('phantomjs', ['class'], function () {
return /\sPhantomJS\/[[0-9]+\]/.test(navigator.userAgent);
});
<MSG> Fix PhantomJS test (remove 'class' from Array)
<DFF> @@ -1,6 +1,6 @@
/*!
* PhantomJS
*/
-conditionizr.add('phantomjs', ['class'], function () ... | 1 | Fix PhantomJS test (remove 'class' from Array) | 1 | .js | js | mit | conditionizr/conditionizr |
10041168 | <NME> phantomjs.js
<BEF> /*!
* PhantomJS
*/
conditionizr.add('phantomjs', ['class'], function () {
return /\sPhantomJS\/[[0-9]+\]/.test(navigator.userAgent);
});
<MSG> Fix PhantomJS test (remove 'class' from Array)
<DFF> @@ -1,6 +1,6 @@
/*!
* PhantomJS
*/
-conditionizr.add('phantomjs', ['class'], function () ... | 1 | Fix PhantomJS test (remove 'class' from Array) | 1 | .js | js | mit | conditionizr/conditionizr |
10041169 | <NME> edge.js
<BEF> ADDFILE
<MSG> Merge pull request #49 from DavidBernal/master
Add Android and Edge detection
<DFF> @@ -0,0 +1,4 @@
+/**
+ * Edge
+ */
+conditionizr.add('edge', /edge\//i.test(navigator.userAgent));
| 4 | Merge pull request #49 from DavidBernal/master | 0 | .js | js | mit | conditionizr/conditionizr |
10041170 | <NME> edge.js
<BEF> ADDFILE
<MSG> Merge pull request #49 from DavidBernal/master
Add Android and Edge detection
<DFF> @@ -0,0 +1,4 @@
+/**
+ * Edge
+ */
+conditionizr.add('edge', /edge\//i.test(navigator.userAgent));
| 4 | Merge pull request #49 from DavidBernal/master | 0 | .js | js | mit | conditionizr/conditionizr |
10041171 | <NME> ie10.js
<BEF> /*!
* IE10
* @cc_on Conditional Compilation to test the
* JavaScript version and MSIE 10 in the UserAgent
*/
conditionizr.add('ie10', !!(Function('/*@cc_on return (/^10/.test(@_jscript_version) && /MSIE 10\.0(?!.*IEMobile)/i.test(navigator.userAgent)); @*/')()));
<MSG> Merge pull request #44 fr... | 1 | Merge pull request #44 from gisu/master | 1 | .js | js | mit | conditionizr/conditionizr |
10041172 | <NME> ie10.js
<BEF> /*!
* IE10
* @cc_on Conditional Compilation to test the
* JavaScript version and MSIE 10 in the UserAgent
*/
conditionizr.add('ie10', !!(Function('/*@cc_on return (/^10/.test(@_jscript_version) && /MSIE 10\.0(?!.*IEMobile)/i.test(navigator.userAgent)); @*/')()));
<MSG> Merge pull request #44 fr... | 1 | Merge pull request #44 from gisu/master | 1 | .js | js | mit | conditionizr/conditionizr |
10041173 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 1 | Update README | 1 | .md | md | mit | conditionizr/conditionizr |
10041174 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 1 | Update README | 1 | .md | md | mit | conditionizr/conditionizr |
10041175 | <NME> edge.js
<BEF> ADDFILE
<MSG> Add Android and Edge detection
<DFF> @@ -0,0 +1,4 @@
+/**
+ * Edge
+ */
+conditionizr.add('edge', /edge\//i.test(navigator.userAgent));
| 4 | Add Android and Edge detection | 0 | .js | js | mit | conditionizr/conditionizr |
10041176 | <NME> edge.js
<BEF> ADDFILE
<MSG> Add Android and Edge detection
<DFF> @@ -0,0 +1,4 @@
+/**
+ * Edge
+ */
+conditionizr.add('edge', /edge\//i.test(navigator.userAgent));
| 4 | Add Android and Edge detection | 0 | .js | js | mit | conditionizr/conditionizr |
10041177 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- "0.8"
- "0.10"
before_script:
- npm install -g gulp
script: gulp
<MSG> Mod travis CI
<DFF> @@ -1,4 +1,4 @@
language: node_js
node_js:
- - "0.8"
- "0.10"
+ - "0.11"
| 1 | Mod travis CI | 1 | .yml | travis | mit | conditionizr/conditionizr |
10041178 | <NME> .travis.yml
<BEF> language: node_js
node_js:
- "0.8"
- "0.10"
before_script:
- npm install -g gulp
script: gulp
<MSG> Mod travis CI
<DFF> @@ -1,4 +1,4 @@
language: node_js
node_js:
- - "0.8"
- "0.10"
+ - "0.11"
| 1 | Mod travis CI | 1 | .yml | travis | mit | conditionizr/conditionizr |
10041179 | <NME> conditionizr.min.js
<BEF> /*! Conditionizr v4.1.0 | (c) 2013 @toddmotto, @markgdyr | conditionizr.com */
window.conditionizr=function(a,b){"use strict";var c,d={},e=b.head||b.getElementsByTagName("head")[0],f=function(a,d,f){var g=f?a:c+a+("style"===d?".css":".js");switch(d){case"script":var h=b.createElement("sc... | 1 | Optimise banner | 1 | .js | min | mit | conditionizr/conditionizr |
10041180 | <NME> conditionizr.min.js
<BEF> /*! Conditionizr v4.1.0 | (c) 2013 @toddmotto, @markgdyr | conditionizr.com */
window.conditionizr=function(a,b){"use strict";var c,d={},e=b.head||b.getElementsByTagName("head")[0],f=function(a,d,f){var g=f?a:c+a+("style"===d?".css":".js");switch(d){case"script":var h=b.createElement("sc... | 1 | Optimise banner | 1 | .js | min | mit | conditionizr/conditionizr |
10041181 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 2 | Update dist and readme | 0 | .md | md | mit | conditionizr/conditionizr |
10041182 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 2 | Update dist and readme | 0 | .md | md | mit | conditionizr/conditionizr |
10041183 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 1 | 2.1.1 — Retina fixes | 1 | .md | md | mit | conditionizr/conditionizr |
10041184 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 1 | 2.1.1 — Retina fixes | 1 | .md | md | mit | conditionizr/conditionizr |
10041185 | <NME> conditionizr.js
<BEF> (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory;
} else {
root.conditionizr = factory();
var _loadDependencies = function (prop, type, flag) {
var ext =... | 3 | src bug | 4 | .js | js | mit | conditionizr/conditionizr |
10041186 | <NME> conditionizr.js
<BEF> (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory;
} else {
root.conditionizr = factory();
var _loadDependencies = function (prop, type, flag) {
var ext =... | 3 | src bug | 4 | .js | js | mit | conditionizr/conditionizr |
10041187 | <NME> readme.md
<BEF> # Conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 1 | Update readme.md | 1 | .md | md | mit | conditionizr/conditionizr |
10041188 | <NME> readme.md
<BEF> # Conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 1 | Update readme.md | 1 | .md | md | mit | conditionizr/conditionizr |
10041189 | <NME> conditionizr.min.js
<BEF> ADDFILE
<MSG> Initial
<DFF> @@ -0,0 +1,14 @@
+/*
+ conditionizr v1.0.0
+ conditionizr.com
+
+ by Todd Motto & Mark Goodyear
+ @toddmotto & @markgdyr
+ toddmotto.com & markgoodyear.com
+
+ Latest version: https://github.com/conditionizr/conditionizr
+
+ Conditionizr, the conditiona... | 14 | Initial | 0 | .js | min | mit | conditionizr/conditionizr |
10041190 | <NME> conditionizr.min.js
<BEF> ADDFILE
<MSG> Initial
<DFF> @@ -0,0 +1,14 @@
+/*
+ conditionizr v1.0.0
+ conditionizr.com
+
+ by Todd Motto & Mark Goodyear
+ @toddmotto & @markgdyr
+ toddmotto.com & markgoodyear.com
+
+ Latest version: https://github.com/conditionizr/conditionizr
+
+ Conditionizr, the conditiona... | 14 | Initial | 0 | .js | min | mit | conditionizr/conditionizr |
10041191 | <NME> readme.md
<BEF> # Conditionizr [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional script... | 5 | Update readme && gitignore | 4 | .md | md | mit | conditionizr/conditionizr |
10041192 | <NME> readme.md
<BEF> # Conditionizr [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional script... | 5 | Update readme && gitignore | 4 | .md | md | mit | conditionizr/conditionizr |
10041193 | <NME> ie10.js
<BEF> /*!
* IE10
* @cc_on Conditional Compilation to test the
* JavaScript version and MSIE 10 in the UserAgent
*/
conditionizr.add('ie10', !!(Function('/*@cc_on return (/^10/.test(@_jscript_version) && /MSIE 10\.0(?!.*IEMobile)/i.test(navigator.userAgent)); @*/')()));
<MSG> Modified IE10 Check
<DFF... | 1 | Modified IE10 Check | 1 | .js | js | mit | conditionizr/conditionizr |
10041194 | <NME> ie10.js
<BEF> /*!
* IE10
* @cc_on Conditional Compilation to test the
* JavaScript version and MSIE 10 in the UserAgent
*/
conditionizr.add('ie10', !!(Function('/*@cc_on return (/^10/.test(@_jscript_version) && /MSIE 10\.0(?!.*IEMobile)/i.test(navigator.userAgent)); @*/')()));
<MSG> Modified IE10 Check
<DFF... | 1 | Modified IE10 Check | 1 | .js | js | mit | conditionizr/conditionizr |
10041195 | <NME> readme.md
<BEF> # Conditionizr [](https://travis-ci.org/conditionizr/conditionizr)
Conditionizr is a fast and lightweight (2KB) javascript utility that detects browser vendor - touch features and retina displays - allowing you to serve condition... | 106 | Update v4 read me | 123 | .md | md | mit | conditionizr/conditionizr |
10041196 | <NME> readme.md
<BEF> # Conditionizr [](https://travis-ci.org/conditionizr/conditionizr)
Conditionizr is a fast and lightweight (2KB) javascript utility that detects browser vendor - touch features and retina displays - allowing you to serve condition... | 106 | Update v4 read me | 123 | .md | md | mit | conditionizr/conditionizr |
10041197 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 2 | Merge pull request #12 from dslatten/patch-1 | 2 | .md | md | mit | conditionizr/conditionizr |
10041198 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 2 | Merge pull request #12 from dslatten/patch-1 | 2 | .md | md | mit | conditionizr/conditionizr |
10041199 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 12 | Update README | 3 | .md | md | mit | conditionizr/conditionizr |
10041200 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 12 | Update README | 3 | .md | md | mit | conditionizr/conditionizr |
10041201 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 2 | Fix broken link to documentation | 2 | .md | md | mit | conditionizr/conditionizr |
10041202 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 2 | Fix broken link to documentation | 2 | .md | md | mit | conditionizr/conditionizr |
10041203 | <NME> LICENSE
<BEF> CENSE
The MIT License
Copyright (c) 2014 Conditionizr (Todd Motto, Mark Goodyear)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limit... | 1 | Update LICENSE | 1 | LICENSE | mit | conditionizr/conditionizr | |
10041204 | <NME> LICENSE
<BEF> CENSE
The MIT License
Copyright (c) 2014 Conditionizr (Todd Motto, Mark Goodyear)
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limit... | 1 | Update LICENSE | 1 | LICENSE | mit | conditionizr/conditionizr | |
10041205 | <NME> ie9.js
<BEF> /*!
* IE9
* @cc_on Conditional Compilation to test the
* JavaScript version and MSIE 9 in the UserAgent
*/
conditionizr.add('ie9', [], function () {
var version = false;
/*@cc_on
if (/^9/.test(@_jscript_version) && /MSIE 9\.0(?!.*IEMobile)/i.test(navigator.userAgent))
version = true
... | 1 | Fix minification of IE detects | 6 | .js | js | mit | conditionizr/conditionizr |
10041206 | <NME> ie9.js
<BEF> /*!
* IE9
* @cc_on Conditional Compilation to test the
* JavaScript version and MSIE 9 in the UserAgent
*/
conditionizr.add('ie9', [], function () {
var version = false;
/*@cc_on
if (/^9/.test(@_jscript_version) && /MSIE 9\.0(?!.*IEMobile)/i.test(navigator.userAgent))
version = true
... | 1 | Fix minification of IE detects | 6 | .js | js | mit | conditionizr/conditionizr |
10041207 | <NME> conditionizr.js
<BEF> (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory;
} else {
root.conditionizr = factory();
}
})(this, function () {
'use strict';
var conditionizr = {};
... | 6 | Fix bug for inline .add(), causing dependencies to run | 3 | .js | js | mit | conditionizr/conditionizr |
10041208 | <NME> conditionizr.js
<BEF> (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory;
} else {
root.conditionizr = factory();
}
})(this, function () {
'use strict';
var conditionizr = {};
... | 6 | Fix bug for inline .add(), causing dependencies to run | 3 | .js | js | mit | conditionizr/conditionizr |
10041209 | <NME> windows.js
<BEF> /*!
* Conditionizr test: Windows
*/
conditionizr.add('windows', [], function () {
return /win/i.test(navigator.platform);
<MSG> Merge branch 'master' of https://github.com/conditionizr/conditionizr
<DFF> @@ -1,5 +1,5 @@
/*!
- * Conditionizr test: Windows
+ * Windows
*/
conditionizr.ad... | 1 | Merge branch 'master' of https://github.com/conditionizr/conditionizr | 1 | .js | js | mit | conditionizr/conditionizr |
10041210 | <NME> windows.js
<BEF> /*!
* Conditionizr test: Windows
*/
conditionizr.add('windows', [], function () {
return /win/i.test(navigator.platform);
<MSG> Merge branch 'master' of https://github.com/conditionizr/conditionizr
<DFF> @@ -1,5 +1,5 @@
/*!
- * Conditionizr test: Windows
+ * Windows
*/
conditionizr.ad... | 1 | Merge branch 'master' of https://github.com/conditionizr/conditionizr | 1 | .js | js | mit | conditionizr/conditionizr |
10041211 | <NME> phantomjs.js
<BEF> ADDFILE
<MSG> Add PhantomJS test
<DFF> @@ -0,0 +1,6 @@
+/*!
+ * PhantomJS
+ */
+conditionizr.add('phantomjs', ['class'], function () {
+ return /\sPhantomJS\/[[0-9]+\]/.test(navigator.userAgent);
+});
| 6 | Add PhantomJS test | 0 | .js | js | mit | conditionizr/conditionizr |
10041212 | <NME> phantomjs.js
<BEF> ADDFILE
<MSG> Add PhantomJS test
<DFF> @@ -0,0 +1,6 @@
+/*!
+ * PhantomJS
+ */
+conditionizr.add('phantomjs', ['class'], function () {
+ return /\sPhantomJS\/[[0-9]+\]/.test(navigator.userAgent);
+});
| 6 | Add PhantomJS test | 0 | .js | js | mit | conditionizr/conditionizr |
10041213 | <NME> readme.md
<BEF> # Meet Conditionizr, the conditional free legacy, retina, script and style loader.
Conditionizr is a fast and lightweight (3KB) javascript utility that detects the end-users browser and pixel ratio, allowing you to serve specific conditional JavaScript and CSS files they need.
<http://conditioni... | 26 | v2.1.0 — Unlimited custom scripts, retina update, optimisation. | 147 | .md | md | mit | conditionizr/conditionizr |
10041214 | <NME> readme.md
<BEF> # Meet Conditionizr, the conditional free legacy, retina, script and style loader.
Conditionizr is a fast and lightweight (3KB) javascript utility that detects the end-users browser and pixel ratio, allowing you to serve specific conditional JavaScript and CSS files they need.
<http://conditioni... | 26 | v2.1.0 — Unlimited custom scripts, retina update, optimisation. | 147 | .md | md | mit | conditionizr/conditionizr |
10041215 | <NME> ie9.js
<BEF> /*!
* IE9
* @cc_on Conditional Compilation to test the
* JavaScript version and MSIE 9 in the UserAgent
*/
conditionizr.add('ie9', [], function () {
var version = false;
/*@cc_on
if (/^9/.test(@_jscript_version) && /MSIE 9\.0(?!.*IEMobile)/i.test(navigator.userAgent))
version = true
... | 1 | Merge branch 'master' of https://github.com/conditionizr/conditionizr | 6 | .js | js | mit | conditionizr/conditionizr |
10041216 | <NME> ie9.js
<BEF> /*!
* IE9
* @cc_on Conditional Compilation to test the
* JavaScript version and MSIE 9 in the UserAgent
*/
conditionizr.add('ie9', [], function () {
var version = false;
/*@cc_on
if (/^9/.test(@_jscript_version) && /MSIE 9\.0(?!.*IEMobile)/i.test(navigator.userAgent))
version = true
... | 1 | Merge branch 'master' of https://github.com/conditionizr/conditionizr | 6 | .js | js | mit | conditionizr/conditionizr |
10041217 | <NME> DOCS.md
<BEF> # Conditionizr v4.x.x Docs
Conditionizr has several public methods, _.config()_, _.add()_, _.on()_, _.load()_ and _.polyfill()_. This document covers each of their usage and some general usage tips for Conditionizr.
## Overview
With previous versions of Conditionizr, tests were limited and loaded... | 1 | Merge pull request #39 from toddskinner/master | 1 | .md | md | mit | conditionizr/conditionizr |
10041218 | <NME> DOCS.md
<BEF> # Conditionizr v4.x.x Docs
Conditionizr has several public methods, _.config()_, _.add()_, _.on()_, _.load()_ and _.polyfill()_. This document covers each of their usage and some general usage tips for Conditionizr.
## Overview
With previous versions of Conditionizr, tests were limited and loaded... | 1 | Merge pull request #39 from toddskinner/master | 1 | .md | md | mit | conditionizr/conditionizr |
10041219 | <NME> conditionizr.js
<BEF> (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory;
} else {
root.conditionizr = factory();
}
})(this, function () {
'use strict';
var conditionizr = {};
... | 1 | Update tests and fix lowerCase bug | 1 | .js | js | mit | conditionizr/conditionizr |
10041220 | <NME> conditionizr.js
<BEF> (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory;
} else {
root.conditionizr = factory();
}
})(this, function () {
'use strict';
var conditionizr = {};
... | 1 | Update tests and fix lowerCase bug | 1 | .js | js | mit | conditionizr/conditionizr |
10041221 | <NME> chrome.js
<BEF> /*!
* Conditionizr test: Chrome
*/
conditionizr.add('chrome', [], function () {
return !!window.chrome && !/opera|opr/i.test(navigator.userAgent);
});
conditionizr.add('chrome', !!window.chrome && /google/i.test(navigator.vendor));
<MSG> Enhanced Chrome detect, dropping Opera negative check... | 1 | Enhanced Chrome detect, dropping Opera negative check for Google vendor check | 1 | .js | js | mit | conditionizr/conditionizr |
10041222 | <NME> chrome.js
<BEF> /*!
* Conditionizr test: Chrome
*/
conditionizr.add('chrome', [], function () {
return !!window.chrome && !/opera|opr/i.test(navigator.userAgent);
});
conditionizr.add('chrome', !!window.chrome && /google/i.test(navigator.vendor));
<MSG> Enhanced Chrome detect, dropping Opera negative check... | 1 | Enhanced Chrome detect, dropping Opera negative check for Google vendor check | 1 | .js | js | mit | conditionizr/conditionizr |
10041223 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 7 | v2.2.0 — Add touch detection, optimisations | 1 | .md | md | mit | conditionizr/conditionizr |
10041224 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 7 | v2.2.0 — Add touch detection, optimisations | 1 | .md | md | mit | conditionizr/conditionizr |
10041225 | <NME> conditionizr-spec.js
<BEF> ADDFILE
<MSG> Convert to gulp.js, run Jasmine on Karma
<DFF> @@ -0,0 +1,154 @@
+/**
+ * conditionizr
+ */
+describe('conditionizr', function () {
+
+ var getScriptTag = function (name) {
+ return document.querySelector('script[src$="/' + name + '.js"]');
+ };
+ var getStyleTag = ... | 154 | Convert to gulp.js, run Jasmine on Karma | 0 | .js | js | mit | conditionizr/conditionizr |
10041226 | <NME> conditionizr-spec.js
<BEF> ADDFILE
<MSG> Convert to gulp.js, run Jasmine on Karma
<DFF> @@ -0,0 +1,154 @@
+/**
+ * conditionizr
+ */
+describe('conditionizr', function () {
+
+ var getScriptTag = function (name) {
+ return document.querySelector('script[src$="/' + name + '.js"]');
+ };
+ var getStyleTag = ... | 154 | Convert to gulp.js, run Jasmine on Karma | 0 | .js | js | mit | conditionizr/conditionizr |
10041227 | <NME> conditionizr.js
<BEF> (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory;
} else {
root.conditionizr = factory();
}
})(this, function () {
'use strict';
var conditionizr = {};
... | 6 | Fix bug for inline .add() method, causing reps to run | 3 | .js | js | mit | conditionizr/conditionizr |
10041228 | <NME> conditionizr.js
<BEF> (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory;
} else {
root.conditionizr = factory();
}
})(this, function () {
'use strict';
var conditionizr = {};
... | 6 | Fix bug for inline .add() method, causing reps to run | 3 | .js | js | mit | conditionizr/conditionizr |
10041229 | <NME> conditionizr.js
<BEF> (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(['conditionizr'], factory);
} else {
root.conditionizr = factory();
}
})(this, function () {
'use strict';
var conditionizr = {};
var assets;
conditionizr.config = function (config) ... | 3 | Add CommonJS/Browserify | 1 | .js | js | mit | conditionizr/conditionizr |
10041230 | <NME> conditionizr.js
<BEF> (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(['conditionizr'], factory);
} else {
root.conditionizr = factory();
}
})(this, function () {
'use strict';
var conditionizr = {};
var assets;
conditionizr.config = function (config) ... | 3 | Add CommonJS/Browserify | 1 | .js | js | mit | conditionizr/conditionizr |
10041231 | <NME> ie9.js
<BEF> /*!
* IE9
* @cc_on Conditional Compilation to test the
* JavaScript version and MSIE 9 in the UserAgent
*/
conditionizr.add('ie9', [], function () {
var version = false;
/*@cc_on
if (/^9/.test(@_jscript_version) && /MSIE 9\.0(?!.*IEMobile)/i.test(navigator.userAgent))
version = true
... | 1 | Merge pull request #34 from dark-panda/allow-conditional-comment-minification | 6 | .js | js | mit | conditionizr/conditionizr |
10041232 | <NME> ie9.js
<BEF> /*!
* IE9
* @cc_on Conditional Compilation to test the
* JavaScript version and MSIE 9 in the UserAgent
*/
conditionizr.add('ie9', [], function () {
var version = false;
/*@cc_on
if (/^9/.test(@_jscript_version) && /MSIE 9\.0(?!.*IEMobile)/i.test(navigator.userAgent))
version = true
... | 1 | Merge pull request #34 from dark-panda/allow-conditional-comment-minification | 6 | .js | js | mit | conditionizr/conditionizr |
10041233 | <NME> readme.md
<BEF> ADDFILE
<MSG> Readme
<DFF> @@ -0,0 +1,168 @@
+# Meet Conditionizr, the conditional free legacy, retina, script and style loader.
+
+Conditionizr is an intelligent jQuery plugin, that detects the end-users browser and pixel ratio, allowing you to serve specific conditional JavaScript and CSS files... | 168 | Readme | 0 | .md | md | mit | conditionizr/conditionizr |
10041234 | <NME> readme.md
<BEF> ADDFILE
<MSG> Readme
<DFF> @@ -0,0 +1,168 @@
+# Meet Conditionizr, the conditional free legacy, retina, script and style loader.
+
+Conditionizr is an intelligent jQuery plugin, that detects the end-users browser and pixel ratio, allowing you to serve specific conditional JavaScript and CSS files... | 168 | Readme | 0 | .md | md | mit | conditionizr/conditionizr |
10041235 | <NME> safari.js
<BEF> /*!
* Safari
* The only browser where the HTMLElement
* contains `Constructor`
*/
conditionizr.add('safari', /Constructor/.test(window.HTMLElement));
<MSG> fix(safari): Add modern Safari detect closes #46
<DFF> @@ -3,4 +3,11 @@
* The only browser where the HTMLElement
* contains `Construc... | 8 | fix(safari): Add modern Safari detect closes #46 | 1 | .js | js | mit | conditionizr/conditionizr |
10041236 | <NME> safari.js
<BEF> /*!
* Safari
* The only browser where the HTMLElement
* contains `Constructor`
*/
conditionizr.add('safari', /Constructor/.test(window.HTMLElement));
<MSG> fix(safari): Add modern Safari detect closes #46
<DFF> @@ -3,4 +3,11 @@
* The only browser where the HTMLElement
* contains `Construc... | 8 | fix(safari): Add modern Safari detect closes #46 | 1 | .js | js | mit | conditionizr/conditionizr |
10041237 | <NME> conditionizr.js
<BEF> window.conditionizr = (function (window, document, undefined) {
'use strict';
/**
* @name conditionizr
*/
var conditionizr = {}, assets;
var head = document.head || document.getElementsByTagName('head')[0];
/**
conditionizr.config = function (config) {
assets = conf... | 23 | Add AMD support | 20 | .js | js | mit | conditionizr/conditionizr |
10041238 | <NME> conditionizr.js
<BEF> window.conditionizr = (function (window, document, undefined) {
'use strict';
/**
* @name conditionizr
*/
var conditionizr = {}, assets;
var head = document.head || document.getElementsByTagName('head')[0];
/**
conditionizr.config = function (config) {
assets = conf... | 23 | Add AMD support | 20 | .js | js | mit | conditionizr/conditionizr |
10041239 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 23 | Update readme.md | 29 | .md | md | mit | conditionizr/conditionizr |
10041240 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 23 | Update readme.md | 29 | .md | md | mit | conditionizr/conditionizr |
10041241 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 14 | Readme update | 14 | .md | md | mit | conditionizr/conditionizr |
10041242 | <NME> readme.md
<BEF> # conditionizr.js [](https://travis-ci.org/conditionizr/conditionizr)
Detects front-end environments and binds the results to the [conditionizr](http://conditionizr.com) Object. <1KB module for async callbacks, conditional scr... | 14 | Readme update | 14 | .md | md | mit | conditionizr/conditionizr |
10041243 | <NME> readme.md
<BEF> # Conditionizr
Conditionizr is a fast and lightweight (3KB) javascript utility that detects the end-users browser and pixel ratio, allowing you to serve specific conditional JavaScript and CSS files they need.
- Creators: [Todd Motto](http://toddmotto.com/), [Mark Goodyear](http://markgoodyear.c... | 1 | v2.1.0 — Unlimited custom scripts, retina update, optimisation. | 1 | .md | md | mit | conditionizr/conditionizr |
10041244 | <NME> readme.md
<BEF> # Conditionizr
Conditionizr is a fast and lightweight (3KB) javascript utility that detects the end-users browser and pixel ratio, allowing you to serve specific conditional JavaScript and CSS files they need.
- Creators: [Todd Motto](http://toddmotto.com/), [Mark Goodyear](http://markgoodyear.c... | 1 | v2.1.0 — Unlimited custom scripts, retina update, optimisation. | 1 | .md | md | mit | conditionizr/conditionizr |
10041245 | <NME> conditionizr.js
<BEF> (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory;
} else {
root.conditionizr = factory();
}
})(this, function () {
'use strict';
var conditionizr = {};
... | 3 | Revert "Fix bug for inline .add() method, causing reps to run" | 6 | .js | js | mit | conditionizr/conditionizr |
10041246 | <NME> conditionizr.js
<BEF> (function (root, factory) {
if (typeof define === 'function' && define.amd) {
define(factory);
} else if (typeof exports === 'object') {
module.exports = factory;
} else {
root.conditionizr = factory();
}
})(this, function () {
'use strict';
var conditionizr = {};
... | 3 | Revert "Fix bug for inline .add() method, causing reps to run" | 6 | .js | js | mit | conditionizr/conditionizr |
10041247 | <NME> ios.js
<BEF> /*!
* Conditionizr test: iOS
*/
conditionizr.add('ios', [], function () {
return /(iPad|iPhone|iPod)/i.test(navigator.userAgent);
});
<MSG> Update ios.js
<DFF> @@ -2,5 +2,5 @@
* Conditionizr test: iOS
*/
conditionizr.add('ios', [], function () {
- return /(iPad|iPhone|iPod)/i.test(navi... | 1 | Update ios.js | 1 | .js | js | mit | conditionizr/conditionizr |
10041248 | <NME> ios.js
<BEF> /*!
* Conditionizr test: iOS
*/
conditionizr.add('ios', [], function () {
return /(iPad|iPhone|iPod)/i.test(navigator.userAgent);
});
<MSG> Update ios.js
<DFF> @@ -2,5 +2,5 @@
* Conditionizr test: iOS
*/
conditionizr.add('ios', [], function () {
- return /(iPad|iPhone|iPod)/i.test(navi... | 1 | Update ios.js | 1 | .js | js | mit | conditionizr/conditionizr |
10041249 | <NME> LICENSE
<BEF> ADDFILE
<MSG> MIT License
<DFF> @@ -0,0 +1,25 @@
+CENSE
+
+The MIT License
+
+Copyright (c) 2012-2013 Todd Motto, Mark Goodyear
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Soft... | 25 | MIT License | 0 | LICENSE | mit | conditionizr/conditionizr |