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
| var inpName = $('input#ins'); | |
| console.log(inpName); | |
| console.log(inpName.val()); | |
| $('#ins').on('click',function () { | |
| // $('.insert').hide(); | |
| alert('ffff'); | |
| }) |
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 | |
| /** | |
| * Created by PhpStorm. | |
| * User: Lex | |
| * Date: 24.01.2018 | |
| * Time: 2:22 | |
| */ | |
| namespace App; |
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 | |
| namespace Drupal\map_point_editor\Controller; | |
| use Drupal\Component\Serialization\Json; | |
| use Drupal\Core\Controller\ControllerBase; | |
| use Drupal\housing\Entity\HousingInterface; | |
| use Symfony\Component\DependencyInjection\ContainerInterface; | |
| use Drupal\Core\Entity\EntityTypeManager; | |
| use Drupal\braslavlakes_map\GeodataMapService; |
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
| #!/bin/bash | |
| if [[ "$PARAM_drupal_support" = "on" ]] | |
| then | |
| cat | sed 's|</doc>$|<params><DRUPAL_SUPPORT>none</DRUPAL_SUPPORT></params></doc>|' | |
| else | |
| cat | sed 's|</doc>$|<params><DRUPAL_SUPPORT>on</DRUPAL_SUPPORT></params></doc>|' | |
| fi |
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 | |
| namespace Drupal\housing\Plugin\simple_sitemap\UrlGenerator; | |
| use Drupal\Core\Url; | |
| use Drupal\housing\Entity\Housing; | |
| use Drupal\simple_sitemap\Annotation\UrlGenerator; | |
| use Drupal\simple_sitemap\EntityHelper; | |
| use Drupal\simple_sitemap\Logger; | |
| use Drupal\simple_sitemap\Plugin\simple_sitemap\UrlGenerator\UrlGeneratorBase; |
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
| Drupal Console Launcher version 1.6.1 | |
| Drupal Console version 1.7.0 | |
| Usage: | |
| command [options] [arguments] | |
| Options: | |
| Available commands: | |
| about Displays basic information about Drupal Console project |
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 | |
| namespace Drupal\geofield_yamaps_simple; | |
| use Drupal\Component\Utility\UrlHelper; | |
| use Drupal\Core\Field\FieldItemListInterface; | |
| use Drupal\Core\Url; | |
| use Drupal\Component\Serialization\Json; | |
| use Drupal\Core\Form\FormStateInterface; |
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
| (function ($, Drupal, settings) { | |
| "use strict"; | |
| Drupal.behaviors.BraslavLakesMap = { | |
| attach: function (context) { | |
| if (drupalSettings['braslavlakes_map']) { |
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 | |
| namespace Drupal\housing\Plugin\JsonLdEntity; | |
| use Drupal\Component\Serialization\Json; | |
| use Drupal\Core\Entity\EntityInterface; | |
| use Drupal\image\Entity\ImageStyle; | |
| use Drupal\json_ld_schema\Entity\JsonLdEntityBase; | |
| use Spatie\SchemaOrg\Type; | |
| use Spatie\SchemaOrg\Schema; |