Sha256: b97eff1eabb3a2b362449d8c0d0d93fd5912464ea731762516456a02b84f2ca1

Contents?: true

Size: 688 Bytes

Versions: 15

Compression:

Stored size: 688 Bytes

Contents

/**	`css` is a requirejs plugin
	that loads a css file and inject it into a page.
	note that this loader will return immediately,
	regardless of whether the browser had finished parsing the stylesheet.
	this css loader is implemented for file optimization and depedency managment
 */

define({
	load: function (name, require, load, config) {
		function inject(filename)
		{
			var head = document.getElementsByTagName('head')[0];
			var link = document.createElement('link');
			link.href = filename;
			link.rel = 'stylesheet';
			link.type = 'text/css';
			head.appendChild(link);
		}
		inject(requirejs.toUrl(name));
		load(true);
	},
	pluginBuilder: '../vendor/require/css-build'
});

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
kibana-sinatra-3.1.2.0 lib/kibana/assets/vendor/require/css.js
kibana-sinatra-3.1.1.0 lib/kibana/assets/vendor/require/css.js
kibana-sinatra-3.1.0.2 lib/kibana/assets/vendor/require/css.js
kibana-sinatra-3.1.0.1 lib/kibana/assets/vendor/require/css.js
kibana-sinatra-3.1.0.0 lib/kibana/assets/vendor/require/css.js
kibana-sinatra-3.0.1.0 lib/kibana/assets/vendor/require/css.js
kibana-sinatra-3.0.0.0 lib/kibana/assets/vendor/require/css.js
kibana-sinatra-0.0.8 lib/kibana/assets/vendor/require/css.js
kibana-sinatra-0.0.7 lib/kibana/assets/vendor/require/css.js
kibana-sinatra-0.0.6 lib/kibana/assets/vendor/require/css.js
kibana-sinatra-0.0.5 lib/kibana/assets/vendor/require/css.js
kibana-sinatra-0.0.4 lib/kibana/assets/vendor/require/css.js
kibana-sinatra-0.0.3 lib/kibana/assets/vendor/require/css.js
kibana-sinatra-0.0.2 lib/kibana/assets/vendor/require/css.js
kibana-sinatra-0.0.1 lib/kibana/assets/vendor/require/css.js