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 |
|---|---|---|---|---|---|---|---|---|
10067050 | <NME> module.toHTML.js
<BEF>
describe('View#toHTML()', function() {
var viewToTest;
beforeEach(function() {
viewToTest = helpers.createView();
assert.isTrue('string' === typeof html);
},
"Should print the child html into the corresponding slot": function() {
var apple = new Apple({ slot: 1 });
... | 9 | Merge pull request #64 from ftlabs/before-tohtml | 1 | .js | toHTML | mit | ftlabs/fruitmachine |
10067051 | <NME> README.md
<BEF> # FruitMachine [](https://travis-ci.com/ftlabs/fruitmachine) [](https://coveralls.io/r/ftlabs/fruitmachine)
A lightweight component layout engine for clien... | 16 | Update readme | 0 | .md | md | mit | ftlabs/fruitmachine |
10067052 | <NME> README.md
<BEF> # LoadJS
<img src="https://www.muicss.com/static/images/loadjs.svg" width="250px">
LoadJS is a tiny async loader for modern browsers (899 bytes).
[](https://david-dm.org/muicss/loadjs)
[.
[](https://david-dm.org/muicss/loadjs)
[ {
beforeEach(function() {
// reset register
pathsLoaded = {};
// reset loadjs dependencies
loadjs.reset... | 34 | Refactored code using pubsub model, 590 bytes gzipped | 30 | .js | js | mit | muicss/loadjs |
10067070 | <NME> tests.js
<BEF> /**
* loadjs tests
* @module test/tests.js
*/
var pathsLoaded = null, // file register
testEl = null,
expect = chai.expect;
describe('loadjs tests', function() {
beforeEach(function() {
// reset register
pathsLoaded = {};
// reset loadjs dependencies
loadjs.reset... | 34 | Refactored code using pubsub model, 590 bytes gzipped | 30 | .js | js | mit | muicss/loadjs |
10067071 | <NME> fruitmachine.js
<BEF> /*jslint browser:true, node:true*/
/**
* FruitMachine
*
* Renders layouts/modules from a basic layout definition.
* If views require custom interactions devs can extend
* the basic functionality.
*
* @version 0.3.3
* @copyright The Financial Times Limited [All Rights Reserved]
* @a... | 9 | Stop internally triggered events from propagating | 9 | .js | js | mit | ftlabs/fruitmachine |
10067072 | <NME> buster.js
<BEF> ADDFILE
<MSG> Added test for beforeinitialized event when a view is created using fruitmachine. - This test only tests that the callback was invoked, it does not test the parameters passed to the callback function
<DFF> @@ -0,0 +1,12 @@
+var config = module.exports;
+
+config["FruitMachineTests"... | 12 | Added test for beforeinitialized event when a view is created using fruitmachine. - This test only tests that the callback was invoked, it does not test the parameters passed to the callback function | 0 | .js | js | mit | ftlabs/fruitmachine |
10067073 | <NME> fruitmachine.js
<BEF> /*jslint browser:true, node:true*/
/**
* FruitMachine
*
* Renders layouts/modules from a basic layout definition.
* If views require custom interactions devs can extend
* the basic functionality.
*
* @version 0.3.3
* @copyright The Financial Times Limited [All Rights Reserved]
* @a... | 16 | Replace all for loops with View#each() | 22 | .js | js | mit | ftlabs/fruitmachine |
10067074 | <NME> tests.js
<BEF> /**
* loadjs tests
* @module test/tests.js
*/
var pathsLoaded = null, // file register
assert = chai.assert,
expect = chai.expect;
describe('LoadJS tests', function() {
beforeEach(function() {
// reset register
pathsLoaded = {};
});
it('should call success callback ... | 311 | Support for loading CSS files | 194 | .js | js | mit | muicss/loadjs |
10067075 | <NME> tests.js
<BEF> /**
* loadjs tests
* @module test/tests.js
*/
var pathsLoaded = null, // file register
assert = chai.assert,
expect = chai.expect;
describe('LoadJS tests', function() {
beforeEach(function() {
// reset register
pathsLoaded = {};
});
it('should call success callback ... | 311 | Support for loading CSS files | 194 | .js | js | mit | muicss/loadjs |
10067076 | <NME> README.md
<BEF> # LoadJS
<img src="https://www.muicss.com/static/images/loadjs.svg" width="250px">
LoadJS is a tiny async loader for modern browsers (899 bytes).
[](https://david-dm.org/muicss/loadjs)
[.
[](https://david-dm.org/muicss/loadjs)
[{var n=function(){},e={},t={},r={};function c(n,e){if(n){var c=r[n];if(t[n]=e,c)for(;c.length;)c[0](n,e),c.splice(0,1)}}function i(e,t){e.call&&(e={success:e}),t.length?(e.error||n)(t):(e.success||n)(e)}function o(e,t,r,c){var i,s,u=document,f=r.async,a=(r.numRetries||0)+1,h=r... | 1 | fixed error in README example | 1 | .js | min | mit | muicss/loadjs |
10067080 | <NME> loadjs.min.js
<BEF> loadjs=function(){var n=function(){},e={},t={},r={};function c(n,e){if(n){var c=r[n];if(t[n]=e,c)for(;c.length;)c[0](n,e),c.splice(0,1)}}function i(e,t){e.call&&(e={success:e}),t.length?(e.error||n)(t):(e.success||n)(e)}function o(e,t,r,c){var i,s,u=document,f=r.async,a=(r.numRetries||0)+1,h=r... | 1 | fixed error in README example | 1 | .js | min | mit | muicss/loadjs |
10067081 | <NME> loadjs.js
<BEF> loadjs = (function () {
/**
* Global dependencies.
* @global {Object} document - DOM
*/
var devnull = function() {},
bundleIdCache = {},
bundleResultCache = {},
bundleCallbackQueue = {};
/**
* Subscribe to bundle load event.
* @param {string[]} bundleIds - Bundle ids
* @param ... | 1 | build distribution files | 1 | .js | js | mit | muicss/loadjs |
10067082 | <NME> loadjs.js
<BEF> loadjs = (function () {
/**
* Global dependencies.
* @global {Object} document - DOM
*/
var devnull = function() {},
bundleIdCache = {},
bundleResultCache = {},
bundleCallbackQueue = {};
/**
* Subscribe to bundle load event.
* @param {string[]} bundleIds - Bundle ids
* @param ... | 1 | build distribution files | 1 | .js | js | mit | muicss/loadjs |
10067083 | <NME> npm-debug.log <BEF> ADDFILE <MSG> Serverside example with API changes <DFF> @@ -0,0 +1,2410 @@ +0 info it worked if it ends with ok +1 verbose cli [ 'node', '/usr/local/bin/npm', 'install', '-g', 'browserify' ] +2 info using npm@1.2.2 +3 info using node@v0.8.18 +4 verbose read json /usr/local/lib/package.json +5 ... | 2,410 | Serverside example with API changes | 0 | .log | log | mit | ftlabs/fruitmachine |
10067084 | <NME> fruitmachine.js
<BEF> /*jslint browser:true, node:true*/
/**
* FruitMachine
*
* Renders layouts/modules from a basic layout definition.
* If views require custom interactions devs can extend
* the basic functionality.
*
* @version 0.3.3
* @copyright The Financial Times Limited [All Rights Reserved]
* @a... | 38 | Added more docs | 2 | .js | js | mit | ftlabs/fruitmachine |
10067085 | <NME> module.toHTML.js
<BEF>
describe('View#toHTML()', function() {
var viewToTest;
beforeEach(function() {
viewToTest = helpers.createView();
assert.isTrue('string' === typeof html);
},
"Should print the child html into the corresponding slot": function() {
var apple = new Apple({ slot: 1 });
... | 9 | Add `before tohtml` event | 1 | .js | toHTML | mit | ftlabs/fruitmachine |
10067086 | <NME> README.md
<BEF> # LoadJS
<img src="https://www.muicss.com/static/images/loadjs.svg" width="250px">
LoadJS is a tiny async loader for modern browsers (899 bytes).
[](https://david-dm.org/muicss/loadjs)
[.
[](https://david-dm.org/muicss/loadjs)
[ {
beforeEach(function() {
// reset register
pathsLoaded = {};
// reset loadjs depe... | 118 | added support for loading imgs | 0 | .js | js | mit | muicss/loadjs |
10067089 | <NME> tests.js
<BEF> /**
* loadjs tests
* @module test/tests.js
*/
var pathsLoaded = null, // file register
testEl = null,
assert = chai.assert,
expect = chai.expect;
describe('LoadJS tests', function() {
beforeEach(function() {
// reset register
pathsLoaded = {};
// reset loadjs depe... | 118 | added support for loading imgs | 0 | .js | js | mit | muicss/loadjs |
10067090 | <NME> build.js
<BEF> ;(function(e,t,n){function i(n,s){if(!t[n]){if(!e[n]){var o=typeof require=="function"&&require;if(!s&&o)return o(n,!0);if(r)return r(n,!0);throw new Error("Cannot find module '"+n+"'")}var u=t[n]={exports:{}};e[n][0](function(t){var r=e[n][1][t];return i(r?r:t)},u,u.exports)}return t[n].exports}va... | 50 | Merged server and client dirs to form 'lib' | 26 | .js | js | mit | ftlabs/fruitmachine |
10067091 | <NME> README.md
<BEF> # FruitMachine [](https://travis-ci.com/ftlabs/fruitmachine) [](https://coveralls.io/r/ftlabs/fruitmachine)
A lightweight component layout engine for clien... | 23 | Remove line breaks from summary | 23 | .md | md | mit | ftlabs/fruitmachine |
10067092 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067093 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067094 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067095 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067096 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067097 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067098 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067099 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067100 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067101 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067102 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067103 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067104 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067105 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067106 | <NME> AvaloniaEdit.props
<BEF> ADDFILE
<MSG> Put language version in props file.
<DFF> @@ -0,0 +1,5 @@
+ο»Ώ<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
+ <PropertyGroup>
+ <LangVersion>7.1</LangVersion>
+ </PropertyGroup>
+</Project>
\ No newline at end of file
| 5 | Put language version in props file. | 0 | .props | props | mit | AvaloniaUI/AvaloniaEdit |
10067107 | <NME> README.md
<BEF> # LoadJS
<img src="https://www.muicss.com/static/images/loadjs.svg" width="250px">
LoadJS is a tiny async loader for modern browsers (590 bytes).
[](https://travis-ci.org/muicss/loadjs)
[.
[](https://travis-ci.org/muicss/loadjs)
[', function() {
var viewToTest;
beforeEach(function() {
viewToTest = helpers.createView();
assert.defined(this.view.el);
},
"Data should be present in the generated markup.": function() {
var text = 'some orange text';
var orange = new Orang... | 11 | Add event | 1 | .js | render | mit | ftlabs/fruitmachine |
10067140 | <NME> module.appendTo.js
<BEF>
describe('View#appendTo()', function() {
var viewToTest;
beforeEach(function() {
viewToTest = helpers.createView();
});
test("Should return the view for a fluent interface.", function() {
var sandbox = document.createElement('div'),
sandbox2 = document.createEle... | 1 | Better API on advice of @rowanbeentje | 1 | .js | appendTo | mit | ftlabs/fruitmachine |
10067141 | <NME> SearchPanel.xaml
<BEF> ο»Ώ<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ae="clr-namespace:AvaloniaEdit;assembly=AvaloniaEdit"
xmlns:search="clr-namespace:AvaloniaEdit.Search;assembly=AvaloniaEdit">
<Style Selector="search|Se... | 29 | use icons for match options | 14 | .xaml | xaml | mit | AvaloniaUI/AvaloniaEdit |
10067142 | <NME> SearchPanel.xaml
<BEF> ο»Ώ<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ae="clr-namespace:AvaloniaEdit;assembly=AvaloniaEdit"
xmlns:search="clr-namespace:AvaloniaEdit.Search;assembly=AvaloniaEdit">
<Style Selector="search|Se... | 29 | use icons for match options | 14 | .xaml | xaml | mit | AvaloniaUI/AvaloniaEdit |
10067143 | <NME> SearchPanel.xaml
<BEF> ο»Ώ<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ae="clr-namespace:AvaloniaEdit;assembly=AvaloniaEdit"
xmlns:search="clr-namespace:AvaloniaEdit.Search;assembly=AvaloniaEdit">
<Style Selector="search|Se... | 29 | use icons for match options | 14 | .xaml | xaml | mit | AvaloniaUI/AvaloniaEdit |
10067144 | <NME> SearchPanel.xaml
<BEF> ο»Ώ<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ae="clr-namespace:AvaloniaEdit;assembly=AvaloniaEdit"
xmlns:search="clr-namespace:AvaloniaEdit.Search;assembly=AvaloniaEdit">
<Style Selector="search|Se... | 29 | use icons for match options | 14 | .xaml | xaml | mit | AvaloniaUI/AvaloniaEdit |
10067145 | <NME> SearchPanel.xaml
<BEF> ο»Ώ<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ae="clr-namespace:AvaloniaEdit;assembly=AvaloniaEdit"
xmlns:search="clr-namespace:AvaloniaEdit.Search;assembly=AvaloniaEdit">
<Style Selector="search|Se... | 29 | use icons for match options | 14 | .xaml | xaml | mit | AvaloniaUI/AvaloniaEdit |
10067146 | <NME> SearchPanel.xaml
<BEF> ο»Ώ<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ae="clr-namespace:AvaloniaEdit;assembly=AvaloniaEdit"
xmlns:search="clr-namespace:AvaloniaEdit.Search;assembly=AvaloniaEdit">
<Style Selector="search|Se... | 29 | use icons for match options | 14 | .xaml | xaml | mit | AvaloniaUI/AvaloniaEdit |
10067147 | <NME> SearchPanel.xaml
<BEF> ο»Ώ<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ae="clr-namespace:AvaloniaEdit;assembly=AvaloniaEdit"
xmlns:search="clr-namespace:AvaloniaEdit.Search;assembly=AvaloniaEdit">
<Style Selector="search|Se... | 29 | use icons for match options | 14 | .xaml | xaml | mit | AvaloniaUI/AvaloniaEdit |
10067148 | <NME> SearchPanel.xaml
<BEF> ο»Ώ<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ae="clr-namespace:AvaloniaEdit;assembly=AvaloniaEdit"
xmlns:search="clr-namespace:AvaloniaEdit.Search;assembly=AvaloniaEdit">
<Style Selector="search|Se... | 29 | use icons for match options | 14 | .xaml | xaml | mit | AvaloniaUI/AvaloniaEdit |
10067149 | <NME> SearchPanel.xaml
<BEF> ο»Ώ<Styles xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:ae="clr-namespace:AvaloniaEdit;assembly=AvaloniaEdit"
xmlns:search="clr-namespace:AvaloniaEdit.Search;assembly=AvaloniaEdit">
<Style Selector="search|Se... | 29 | use icons for match options | 14 | .xaml | xaml | mit | AvaloniaUI/AvaloniaEdit |