This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version='1.0' encoding='utf-8'?> | |
<widget> | |
<!-- ... --> | |
<hook src="scripts/cordova/media/splashscreens.js" type="before_platform_add" /> | |
</widget> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Tested on Select2 v4.0.2 | |
// Init | |
var $select = jQuery('#my-select'); | |
var select2Options = { | |
multiple: true | |
}; | |
// Add decorator adapter | |
if (keepOptionsOrder) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"env": { | |
"staging": { | |
"ftpConfig": { | |
"host": "xxx", | |
"user": "xxx", | |
"pass": "xxx" | |
}, | |
"path": { | |
"local": "./public", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* JInstallerHelper::downloadPackage patch to encode redirect url query values. | |
* | |
* File Locations: | |
* - J3.2: /libraries/cms/installer/helper.php | |
* - J2.5: /libraries/joomla/installer/helper.php | |
* | |
* For performance reasons (assuming that initial $url is valid), | |
* this code can be moved just under the `302 == $response->code` check. | |
*/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$.ajax({ | |
type : 'POST', | |
data : request, | |
// Got HTTP response code 200 | |
success: function (response) | |
{ | |
switch (this.data.request.format) | |
{ | |
// Handling JSON format |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* @package Joomla.Libraries | |
* @subpackage HTML | |
* | |
* @copyright Copyright (C) 2005 - 2013 Open Source Matters, Inc. All rights reserved. | |
* @license GNU General Public License version 2 or later; see LICENSE | |
*/ | |
defined('JPATH_PLATFORM') or die; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Removes the admin menu item for a given component | |
* | |
* This method was pilfered from JInstallerComponent::_removeAdminMenus() | |
* /libraries/joomla/installer/adapters/component.php : _removeAdminMenus | |
* | |
* @param int $id The component's #__extensions id | |
* | |
* @return bool True on success, false on failure | |
* |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Backbone.js 0.5.3 | |
// (c) 2010 Jeremy Ashkenas, DocumentCloud Inc. | |
// Backbone may be freely distributed under the MIT license. | |
// For all details and documentation: | |
// http://documentcloud.github.com/backbone | |
(function(){ | |
// Initial Setup | |
// ------------- |