Skip to content

Commit

Permalink
Fix misspelling
Browse files Browse the repository at this point in the history
  • Loading branch information
pingevt committed May 29, 2024
1 parent 138e01a commit ac987c8
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion assets/dist/js/content-ajaxing.js

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

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@


.sample-example{
.simple-example{
background-color:red;
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@


.sample-example {
.simple-example {
background-color: red;
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
sample:
simple:
version: 1.x
css:
theme:
assets/dist/css/sample-library.css: {}
assets/dist/css/simple-library.css: {}
js:
assets/dist/js/sample-library.js: {}
assets/dist/js/simple-library.js: {}
dependencies:
- core/drupal
- core/jquery

Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public function build(Request $request) {
'center-content' => [
'#markup' => '<div>Etiam porta sem malesuada magna mollis euismod. Etiam porta sem malesuada magna mollis euismod. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</div>
<div>Etiam porta sem malesuada magna mollis euismod. Etiam porta sem malesuada magna mollis euismod. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</div>
<div class="sample-example">Etiam porta sem malesuada magna mollis euismod. Etiam porta sem malesuada magna mollis euismod. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</div>
<div class="simple-example">Etiam porta sem malesuada magna mollis euismod. Etiam porta sem malesuada magna mollis euismod. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</div>
<div>Etiam porta sem malesuada magna mollis euismod. Etiam porta sem malesuada magna mollis euismod. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</div>
<div>Etiam porta sem malesuada magna mollis euismod. Etiam porta sem malesuada magna mollis euismod. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas faucibus mollis interdum. Cras justo odio, dapibus ac facilisis in, egestas eget quam. Integer posuere erat a ante venenatis dapibus posuere velit aliquet. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.</div>
Expand All @@ -48,10 +48,10 @@ public function build(Request $request) {

public function ajaxResponse(Request $request) {
$build = [
'#markup' => '<p>Ajaxed Paragraph 1.</p><p class="sample-example">Ajaxed Paragraph 2.</p><p>Ajaxed Paragraph 3.</p>',
'#markup' => '<p>Ajaxed Paragraph 1.</p><p class="simple-example">Ajaxed Paragraph 2.</p><p>Ajaxed Paragraph 3.</p>',
'#attached' => [
'library' => [
'bluecadet_ajax_content_example/sample',
'bluecadet_ajax_content_example/simple',
],
],
];
Expand Down

0 comments on commit ac987c8

Please sign in to comment.