More UI code

Not all functionalities are added.

Change-Id: I37007a8dedce6bcb055a9d6d79376f40868fd6dd
This commit is contained in:
Santhosh Thottingal
2012-08-15 15:45:39 +05:30
committed by Amir E. Aharoni
parent dbcdd63e69
commit a17598ad04
6 changed files with 176 additions and 68 deletions

View File

@@ -19,15 +19,11 @@
( function($, mw) {
"use strict";
$( document ).ready( function() {
// FIXME Dummy repository
var mediawikiFontRepository = $.webfonts.repository;
mediawikiFontRepository.base = mw.config.get( 'wgExtensionAssetsPath' )
+ '/UniversalLanguageSelector/data/fontrepo/fonts/';
$( 'body' ).webfonts( {
repository : {
base : '../data/fonts/',
fonts : {},
languages : {
'en' : [ 'Sans', 'Serif' ]
}
}
repository: mediawikiFontRepository
} );
} );
} )( jQuery );
} )( jQuery, mediaWiki );