Alberta Aboriginal Treaty Lands.
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
input[type="search"] { -webkit-appearance: textfield; } |
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
(function($) { | |
var methods = { | |
init: function( options ) { | |
// iterate and reformat each matched element | |
return this.each(function() { | |
var $this = $(this), | |
opts = $.extend({}, $.fn.PLUGIN_NAME.defaults, options), | |
data = $this.data('PLUGIN_NAME'); |
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
// stolen from http://api.jquery.com/map/ | |
// usage: $('div').equalizeHeights(); | |
$.fn.equalizeHeights = function(){ | |
return this.height( Math.max.apply( this, $(this).map(function(i,e){ return $(e).height() }).get() ) ); | |
} |
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
<script> | |
$(function(){ | |
// this will trigger purrrify when $('#myTrigger') is clicked: | |
$.purrrify({ | |
trigger: { selector: '#myTrigger', event: 'click' } | |
}); | |
}); | |
</script> |
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
$.fn.matchWidth = function(){ | |
// Prepare | |
var $this = $(this); | |
// Action | |
$this.width(function(){ | |
var w = 0; | |
$(this).children().each(function(){ | |
w += $(this).outerWidth(true); | |
}); |
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
Error: Assertion Failed: You must use Ember.set() to set the `currentState` property (of <app@component:ui/cell-assignment::ember1408>) to `[object Object]`. | |
at new Error (native) | |
at Error.EmberError (http://localhost:4200/assets/vendor.js:27314:21) | |
at Object._emberMetalCore.default.assert (http://localhost:4200/assets/vendor.js:16033:13) | |
at SETTER_FUNCTION [as currentState] (http://localhost:4200/assets/vendor.js:30817:34) | |
at _emberMetalMixin.Mixin.create._transitionTo (http://localhost:4200/assets/vendor.js:56379:44) | |
at Renderer.willDestroyElement (http://localhost:4200/assets/vendor.js:23700:12) | |
at Renderer.remove (http://localhost:4200/assets/vendor.js:23668:10) | |
at Object._emberMetalMerge.default.destroyElement (http://localhost:4200/assets/vendor.js:59776:21) | |
at Object._emberMetalMerge.default.cleanup (http://localhost:4200/assets/vendor.js:59768:25) |
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
import Ember from 'ember'; | |
export default Ember.Controller.extend({ | |
appName:'Ember Twiddle' | |
}); |
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
mkdir temp | |
cd temp | |
git clone git@yourDomain.unfuddle.com:yourDomain/yourRepoName.git | |
cd yourRepoName/ | |
git remote rm origin | |
git remote add origin https://yourUsername@bitbucket.org/yourUsername/yourNewRepoName.git | |
git remote show origin | |
git push origin master | |
cd ../.. | |
rm -rf temp |
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
<h1>Using both small and large grids</h1> | |
<ul class='small-block-grid-2 large-block-grid-4'> | |
<li><img src='http://placekitten.com/g/200/220' /></li> | |
<li><img src='http://placekitten.com/g/200/200' /></li> | |
<li><img src='http://placekitten.com/g/200/280' /></li> | |
<li><img src='http://placekitten.com/g/200/250' /></li> | |
<li><img src='http://placekitten.com/g/200/240' /></li> | |
<li><img src='http://placekitten.com/g/200/270' /></li> | |
<li><img src='http://placekitten.com/g/200/230' /></li> |