This file contains 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
+ {% if field.type in app.extensions.getFields|keys %} | |
+ {% include 'custom/fields/' ~ field.type ~ '.twig' %} | |
+ {% endif %} |
This file contains 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 Spatial; | |
class Extension extends \Bolt\BaseExtension | |
{ | |
function info() | |
{ | |
$data = array( |
This file contains 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 React = require('react'); | |
var GeoJsonEditor = require('./GeoJsonEditor'); | |
var LineStringEditor2 = require('./LineStringEditor2'); | |
var FancyLineStringEditor = React.createClass({ | |
propTypes: { | |
value: React.PropTypes.object, | |
onChange: React.PropTypes.func.isRequired | |
}, |
This file contains 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
'use strict'; | |
var fs = require('fs'); | |
var path = require('path'); | |
var _ = require('underscore'); | |
var exec = require('child-process-promise').exec; | |
var Compiler = require('traceur').NodeCompiler; | |
var traceurOptions = { | |
sourceMaps : 'inline', |
This file contains 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
'use strict'; | |
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { 'default': obj }; } | |
var _nodeFetch = require('node-fetch'); | |
var _nodeFetch2 = _interopRequireDefault(_nodeFetch); | |
var _xml2js = require('xml2js'); |
This file contains 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 | |
public function __construct() | |
{ | |
parent::__construct(); | |
$this->filter('before', 'auth'); | |
} | |
// Get Single news item | |
public function get_single($id, $slug = null) |
This file contains 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 | |
public function add($name, $source = null, $dependencies = array(), $attributes = array()) | |
{ | |
$type = (pathinfo($source, PATHINFO_EXTENSION) == 'css') ? 'style' : 'script'; | |
return $this->$type($name, $source, $dependencies, $attributes); | |
} | |
protected function register($type, $name, $source, $dependencies, $attributes) |
This file contains 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
[1mdiff --git a/application/bundles.php b/application/bundles.php[m | |
[1mindex 49d126b..e8b8f26 100755[m | |
[1m--- a/application/bundles.php[m | |
[1m+++ b/application/bundles.php[m | |
[36m@@ -33,4 +33,8 @@[m | |
|[m | |
*/[m | |
[31mreturn array();[m | |
No newline at end of file[m |
This file contains 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
diff --git a/application/bundles.php b/application/bundles.php | |
index 49d126b..e8b8f26 100755 | |
--- a/application/bundles.php | |
+++ b/application/bundles.php | |
@@ -33,4 +33,8 @@ | |
| | |
*/ | |
-return array(); | |
\ No newline at end of file |
OlderNewer