🏳️🌈
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
| /** | |
| * @package ReplicableMixin | |
| * @author Joel A. Villarreal Bertoldi | |
| * @version 0.0.1 | |
| * @license MIT | |
| * | |
| * Allows replicating a model with relationships to the database. | |
| * | |
| * Usage: | |
| * |
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
| import errorificador from '../utils/errorificador'; | |
| export function initialize(/* container, application */) { | |
| var swalError = { swalError: errorificador }; | |
| Ember.Controller.reopen(swalError); | |
| Ember.Route.reopen(swalError); | |
| Ember.Component.reopen(swalError); | |
| } | |
| export default { |
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 | |
| add_action( 'after_setup_theme', 'bootstrap_setup' ); | |
| if ( ! function_exists( 'bootstrap_setup' ) ): | |
| function bootstrap_setup(){ | |
| add_action( 'init', 'register_menu' ); | |
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 Eurofrits\Theme\Controllers; | |
| use Compage\Component\Controller; | |
| class IndexController extends Controller { | |
| public function __construct($theme) { | |
| parent::__construct($theme, "Index"); |
NewerOlder