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
/*! | |
* | |
* Library Agnostic Pubsub | |
* http://darcyclarke.me/articles/development/library-agnostic-pubsub-publish-subscribe/ | |
* | |
* Copyright 2016, Darcy Clarke | |
* Do what you want license... | |
* | |
*/ | |
(function(window){ |
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 | |
/***********************************************/ | |
/* PHP Strip Function | |
/* http://darcyclarke.me/articles/development/strip-out-text-between-two-tags-in-a-string-php/ | |
/* | |
/* Copyright 2016, Darcy Clarke | |
/* Do what you want license | |
/***********************************************/ | |
function strip($startTag,$endTag,$text,$pos=0){ | |
if(!is_integer($pos)){ |
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
/*! | |
* | |
* Get Clean window & DOM Objects | |
* http://darcyclarke.me/articles/development/getting-a-clean-document-or-window-object-in-javascript/ | |
* | |
* Copyright 2016, Darcy Clarke | |
* Do what you want license | |
* | |
*/ | |
(function(){ |
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
# -------------------------------------- | |
# Setup | |
# -------------------------------------- | |
server = false | |
fs = require( 'fs' ) | |
path = require( 'path' ) | |
_ = require( 'underscore' ) | |
wrench = require( 'wrench' ) |
NewerOlder