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
/*! | |
* <style scoped> shim | |
* http://github.com/richtr | |
* | |
* Copyright 2012 Rich Tibbett | |
* Released under the MIT license | |
* http://opensource.org/licenses/MIT | |
* | |
* Date: 8th November 2012 | |
*/ |
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
/* | |
* OrientationChange Event Shim | |
* http://github.com/richtr | |
* | |
* Copyright (c) 2012, Rich Tibbett | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* |
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
/** | |
* DOM Element constructor helper class. | |
* | |
* Usage: | |
* ------- | |
* var newDiv = Element.create('div'); | |
* var newDiv = Element.create('div', {text: "Hi"}); | |
* var newDiv = Element.create('div', {text: "Hi "}, [ | |
* Element.create('span', {style: 'color: #CC0000', html:"<b>you</b>"}, [ | |
* // Infinitely chainable |
NewerOlder