Skip to content

Commit

Permalink
Version 2.9.0
Browse files Browse the repository at this point in the history
Merge pull request #751 from Freemius/develop
  • Loading branch information
swashata authored Oct 21, 2024
2 parents cc31279 + b76f277 commit 5669671
Show file tree
Hide file tree
Showing 58 changed files with 7,440 additions and 5,549 deletions.
2 changes: 1 addition & 1 deletion assets/css/admin/checkout.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/css/admin/dialog-boxes.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/js/jquery.form.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

227 changes: 227 additions & 0 deletions assets/js/pricing/14fb1bd5b7c41648488b06147f50a0dc.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
227 changes: 227 additions & 0 deletions assets/js/pricing/4529cac82a2d1f300d3c4702b7b5e8f3.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
402 changes: 402 additions & 0 deletions assets/js/pricing/b4f3b958f4a019862d81b15f3f8eee3a.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
227 changes: 227 additions & 0 deletions assets/js/pricing/f18006f6535a1a6e9c6bfbffafe6f18a.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
227 changes: 227 additions & 0 deletions assets/js/pricing/f928f1be99776af83e8e6be4baf8ffe7.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions assets/js/pricing/freemius-pricing.js

Large diffs are not rendered by default.

45 changes: 45 additions & 0 deletions assets/js/pricing/freemius-pricing.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*!
* Determine if an object is a Buffer
*
* @author Feross Aboukhadijeh <https://feross.org>
* @license MIT
*/

/*!
* Font Awesome Free 6.0.0 by @fontawesome - https://fontawesome.com
* License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License)
* Copyright 2022 Fonticons, Inc.
*/

/** @license React v0.20.2
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.2
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.2
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
45 changes: 45 additions & 0 deletions assets/scripts/jquery.form.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
// http://stackoverflow.com/questions/4583703/jquery-post-request-not-ajax
(function ( $ ) {
$.extend( {
form: function ( url, data, method ) {
if ( method == null ) method = 'POST';
if ( data == null ) data = {};

var form = $( '<form>' ).attr( {
method: method,
action: url
} ).css( {
display: 'none'
} );

var addData = function ( name, data ) {
if ( $.isArray( data ) ) {
for ( var i = 0; i < data.length; i++ ) {
var value = data[ i ];
addData( name + '[]', value );
}
} else if ( typeof data === 'object' ) {
for ( var key in data ) {
if ( data.hasOwnProperty( key ) ) {
addData( name + '[' + key + ']', data[ key ] );
}
}
} else if ( data != null ) {
form.append( $( '<input>' ).attr( {
type : 'hidden',
name : String( name ),
value: String( data )
} ) );
}
};

for ( var key in data ) {
if ( data.hasOwnProperty( key ) ) {
addData( key, data[ key ] );
}
}

return form.appendTo( 'body' );
}
} );
} )( jQuery );
2 changes: 1 addition & 1 deletion assets/scss/admin/_ajax-loader.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $size: 20;
{
position: absolute;
top: 0;
background-color: $color;
background-color: $bkg-color;
width: #{$size}px;
height: #{$size}px;
animation-name: bounce_ajaxLoader;
Expand Down
8 changes: 8 additions & 0 deletions assets/scss/admin/checkout.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
@import "../start";
@import "ajax-loader";

@media screen and (max-width: 782px) {
#wpbody-content {
padding-bottom: 0 !important;
}
}

.fs-checkout-process-redirect {
padding: 40px;
text-align: center;
}
1 change: 1 addition & 0 deletions gulptasks/scripts.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const jsOutput = 'assets/js';
const jsSources = {
['nojquery.ba-postmessage']: `${jsSourceDir}/nojquery.ba-postmessage.js`,
['postmessage'] : `${jsSourceDir}/postmessage.js`,
['jquery.form'] : `${jsSourceDir}/jquery.form.js`,
};

exports.getSdkJSCompilers = (isProd) => {
Expand Down
Loading

0 comments on commit 5669671

Please sign in to comment.