Skip to content

Instantly share code, notes, and snippets.

/**
* KWidget static object.
* Will eventually host all the loader logic.
*/
(function(){
// Use strict ECMAScript 5
"use strict";
// Flag to avoid double setup
@ranyefet
ranyefet / mweApiUiConfJs.php
Last active December 16, 2015 14:58
/v1.7.2/modules/KalturaSupport/apiServices/mweApiUiConfJs.php
<?php
/**
* This file injects all on Page uiConf based javascript and configuration and loader.
*
* it requires a partner_id and a uiconf_id
*/
require_once( dirname( __FILE__ ) . '/../KalturaCommon.php' );
$wgMwEmbedApiServices['uiconfJs'] = 'mweApiUiConfJs';
@ranyefet
ranyefet / list_items.html
Created October 22, 2012 10:02
List items with jQuery
<!doctype html>
<html>
<head>
<title>List items with jQuery</title>
<style>
#header {
background-color:#94D4E0; font-family:tahoma; height:50px; margin-left:auto; margin-right:auto; width:400px; text-align:center; vertical-align:text-bottom; font-size:20px; line-height:250%;
}
#control {
position:absolute; align:float;