Skip to content

Commit

Permalink
Improved code formatting standards by adding file trailing newline.
Browse files Browse the repository at this point in the history
  • Loading branch information
ThierryA committed Jul 31, 2016
1 parent fe6bce3 commit 667dbb8
Show file tree
Hide file tree
Showing 94 changed files with 94 additions and 94 deletions.
2 changes: 1 addition & 1 deletion 404.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
* @link http://www.getbeans.io
*/

beans_load_document();
beans_load_document();
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ If you are a Beans superstar and you want to contribute to Beans core, here are
* Commits must be split into specific tasks and kept small so that other developers can easily see what it's about.
* Code format must be strictly similar to the rest of the theme framework.

Thanks for making Beans such a great theme which is loved and used by truly passionate people.
Thanks for making Beans such a great theme which is loved and used by truly passionate people.
2 changes: 1 addition & 1 deletion comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
*/

// Template situated in /lib/templates/structure/comments.php
beans_load_default_template( __FILE__ );
beans_load_default_template( __FILE__ );
2 changes: 1 addition & 1 deletion footer.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
*/

// Template situated in /lib/templates/structure/footer.php
beans_load_default_template( __FILE__ );
beans_load_default_template( __FILE__ );
2 changes: 1 addition & 1 deletion functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
* @link http://www.getbeans.io
*/

require_once( dirname( __FILE__ ) . '/lib/init.php' );
require_once( dirname( __FILE__ ) . '/lib/init.php' );
2 changes: 1 addition & 1 deletion header.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@
*/

// Template situated in /lib/templates/structure/header.php
beans_load_default_template( __FILE__ );
beans_load_default_template( __FILE__ );
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
* @link http://www.getbeans.io
*/

beans_load_document();
beans_load_document();
2 changes: 1 addition & 1 deletion lib/admin/assets/js/wp-customize-preview.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@

});

})( window.jQuery );
})( window.jQuery );
2 changes: 1 addition & 1 deletion lib/admin/options.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@ function beans_do_register_post_meta() {

beans_register_post_meta( $fields, array( 'post', 'page' ), 'tm-beans', array( 'title' => __( 'Post Options', 'tm-beans' ) ) );

}
}
2 changes: 1 addition & 1 deletion lib/admin/updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ function beans_updater_clear_transient() {

delete_site_transient( 'beans_updater' );

}
}
2 changes: 1 addition & 1 deletion lib/admin/wp-customize.php
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ function beans_do_register_wp_customize_options() {

beans_register_wp_customize_options( $fields, 'beans_preview', array( 'title' => __( 'Preview Tools', 'tm-beans' ), 'priority' => 1010 ) );

}
}
2 changes: 1 addition & 1 deletion lib/api/actions/class.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ public function callback() {

}

}
}
2 changes: 1 addition & 1 deletion lib/api/actions/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -663,4 +663,4 @@ function _beans_unique_action_id( $callback ) {

return md5( $callback );

}
}
2 changes: 1 addition & 1 deletion lib/api/compiler/class-compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -650,4 +650,4 @@ public function report() {

}

}
}
2 changes: 1 addition & 1 deletion lib/api/compiler/class-page-compiler.php
Original file line number Diff line number Diff line change
Expand Up @@ -172,4 +172,4 @@ public function dequeue_scripts() {

}

new _Beans_Page_Compiler();
new _Beans_Page_Compiler();
2 changes: 1 addition & 1 deletion lib/api/compiler/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -316,4 +316,4 @@ function _beans_is_compiler_dev_mode() {
'less' => array(),
'js' => array()
);
}
}
2 changes: 1 addition & 1 deletion lib/api/fields/assets/css/fields.css
Original file line number Diff line number Diff line change
Expand Up @@ -342,4 +342,4 @@
width: 33px;
height: 33px;
margin-bottom: 0;
}
}
2 changes: 1 addition & 1 deletion lib/api/fields/assets/js/fields.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,4 +198,4 @@

});

})( window.jQuery );
})( window.jQuery );
2 changes: 1 addition & 1 deletion lib/api/fields/assets/js/media.js
Original file line number Diff line number Diff line change
Expand Up @@ -210,4 +210,4 @@

});

})(jQuery);
})(jQuery);
2 changes: 1 addition & 1 deletion lib/api/fields/class.php
Original file line number Diff line number Diff line change
Expand Up @@ -338,4 +338,4 @@ public function get_fields( $context, $section ) {

}

}
}
2 changes: 1 addition & 1 deletion lib/api/fields/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ function _beans_pre_standardize_fields( $fields ) {

return $_fields;

}
}
2 changes: 1 addition & 1 deletion lib/api/filters/class.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,4 +47,4 @@ public function callback() {

}

}
}
2 changes: 1 addition & 1 deletion lib/api/filters/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -195,4 +195,4 @@ function _beans_add_anonymous_filter( $id, $callback, $priority = 10, $args = 1

new _Beans_Anonymous_Filters( $id, $callback, $priority, $args );

}
}
2 changes: 1 addition & 1 deletion lib/api/html/class.php
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,4 @@ public function remove( $attributes ) {

}

}
}
2 changes: 1 addition & 1 deletion lib/api/html/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -630,4 +630,4 @@ function _beans_is_html_dev_mode() {

return get_option( 'beans_dev_mode', false );

}
}
2 changes: 1 addition & 1 deletion lib/api/image/class-images.php
Original file line number Diff line number Diff line change
Expand Up @@ -173,4 +173,4 @@ private function edit() {

}

}
}
2 changes: 1 addition & 1 deletion lib/api/image/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -145,4 +145,4 @@ function beans_get_images_dir() {

return wp_normalize_path( trailingslashit( $dir ) );

}
}
2 changes: 1 addition & 1 deletion lib/api/init.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,4 @@
// Backwards compatibility constants.
define( 'BEANS_API_COMPONENTS_PATH', BEANS_API_PATH );
define( 'BEANS_API_COMPONENTS_ADMIN_PATH', BEANS_API_PATH . 'admin/' );
define( 'BEANS_API_COMPONENTS_URL', BEANS_API_URL );
define( 'BEANS_API_COMPONENTS_URL', BEANS_API_URL );
2 changes: 1 addition & 1 deletion lib/api/layout/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,4 +287,4 @@ function beans_get_layouts_for_options( $add_default = false ) {

return $layouts;

}
}
2 changes: 1 addition & 1 deletion lib/api/options/class.php
Original file line number Diff line number Diff line change
Expand Up @@ -224,4 +224,4 @@ public function reset_notices() {

}

}
}
2 changes: 1 addition & 1 deletion lib/api/options/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -128,4 +128,4 @@ function _beans_options_page_actions() {
$class = new _Beans_Options();
$class->actions();

}
}
2 changes: 1 addition & 1 deletion lib/api/post-meta/class.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,4 +142,4 @@ public function save_attachment( $attachment ) {

}

}
}
2 changes: 1 addition & 1 deletion lib/api/post-meta/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ function beans_get_post_meta( $field_id, $default = false, $post_id = false ) {

return $default;

}
}
2 changes: 1 addition & 1 deletion lib/api/term-meta/class.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,4 @@ public function delete( $term, $term_id, $taxonomy ) {

}

}
}
2 changes: 1 addition & 1 deletion lib/api/term-meta/functions-admin.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,4 +99,4 @@ function _beans_is_admin_term( $taxonomies ) {

return false;

}
}
2 changes: 1 addition & 1 deletion lib/api/term-meta/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ function beans_get_term_meta( $field_id, $default = false, $term_id = false ) {

return get_option( "beans_term_{$term_id}_{$field_id}", $default );

}
}
2 changes: 1 addition & 1 deletion lib/api/uikit/class.php
Original file line number Diff line number Diff line change
Expand Up @@ -364,4 +364,4 @@ function to_filename( $file ) {

}

}
}
2 changes: 1 addition & 1 deletion lib/api/uikit/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -290,4 +290,4 @@ function _beans_uikit_enqueue_admin_assets() {

$uikit->compile();

}
}
2 changes: 1 addition & 1 deletion lib/api/utilities/deprecated.php
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ function beans_sanatize_attributes( $attributes ) {

return beans_esc_attributes( $attributes );

}
}
2 changes: 1 addition & 1 deletion lib/api/utilities/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -607,4 +607,4 @@ function array_replace_recursive( $base, $replacements ) {

}

}
}
2 changes: 1 addition & 1 deletion lib/api/widget/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -595,4 +595,4 @@ function _beans_force_the_widget( $widget, $instance, $args ) {

printf( '<!--widget-%1$s-->', $widget_obj->id );

}
}
2 changes: 1 addition & 1 deletion lib/api/wp-customize/class.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,4 +193,4 @@ public function render_content() {

}

endif;
endif;
2 changes: 1 addition & 1 deletion lib/api/wp-customize/functions.php
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ function beans_register_wp_customize_options( array $fields, $section, $args = a

new _Beans_WP_Customize( $section, $args );

}
}
2 changes: 1 addition & 1 deletion lib/assets/assets.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@ function beans_add_editor_assets() {

add_editor_style( BEANS_ASSETS_URL . 'css/editor' . BEANS_MIN_CSS . '.css' );

}
}
2 changes: 1 addition & 1 deletion lib/assets/css/editor.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ body {
font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
font-size: 15px;
line-height: 20px;
}
}
2 changes: 1 addition & 1 deletion lib/assets/less/default.less
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@

.tm-footer {
border-top: 1px solid @global-border;
}
}
2 changes: 1 addition & 1 deletion lib/assets/less/uikit-overwrite/article.less
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@
border-left: 0;
}

}
}
2 changes: 1 addition & 1 deletion lib/assets/less/uikit-overwrite/base.less
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@
.uk-h6 {
font-size: @base-h6-font-size !important;
line-height: @base-h6-line-height !important;
}
}
2 changes: 1 addition & 1 deletion lib/assets/less/uikit-overwrite/breadcrumb.less
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@

}

}
}
2 changes: 1 addition & 1 deletion lib/assets/less/uikit-overwrite/button.less
Original file line number Diff line number Diff line change
Expand Up @@ -52,4 +52,4 @@
position: relative;
}

}
}
2 changes: 1 addition & 1 deletion lib/assets/less/uikit-overwrite/comment.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@

.uk-comment-body > *:last-of-type {
margin-bottom: 10px;
}
}
2 changes: 1 addition & 1 deletion lib/assets/less/uikit-overwrite/dropdown.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@
/* 3 */
-webkit-transform-origin: 0 0;
transform-origin: 0 0;
}
}
2 changes: 1 addition & 1 deletion lib/assets/less/uikit-overwrite/form.less
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@

.hook-form() {
border-radius: @global-border-radius;
}
}
2 changes: 1 addition & 1 deletion lib/assets/less/uikit-overwrite/grid.less
Original file line number Diff line number Diff line change
Expand Up @@ -39,4 +39,4 @@
.uk-grid-width-xlarge-1-8 > * { width: 12.5%; }
.uk-grid-width-xlarge-1-9 > * { width: 11.111111111%; }

}
}
2 changes: 1 addition & 1 deletion lib/assets/less/uikit-overwrite/list.less
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@

.widget.uk-list > ul {
padding-left: 0;
}
}
2 changes: 1 addition & 1 deletion lib/assets/less/uikit-overwrite/nav.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@
padding-bottom: 0;
}

}
}
2 changes: 1 addition & 1 deletion lib/assets/less/uikit-overwrite/navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
// ========================================================================

@navbar-nav-font-family: @global-font-family;
@navbar-background: transparent;
@navbar-background: transparent;
Loading

0 comments on commit 667dbb8

Please sign in to comment.