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 sequence = $animateSequence({ styler: 'webAnimations' }) | |
.animate({ | |
transform: translateString(startPos.left, startPos.top, 0) + ' scale(0.2)', | |
opacity: 0 | |
}, { | |
transform: translateString(endPos.left, endPos.top, 0) + ' scale(1.0)', | |
opacity: 1 | |
}); |
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
/*************************** | |
* IONIC INTERNAL CONFIG | |
***************************/ | |
import {TabsConfig} from 'ionic/components/tabs'; | |
function MaterialTabsMixin(tabsInstance) { | |
Pannable(tabsInstance); | |
return { | |
onPanStart() {}, | |
onPan() {}, |
This file has been truncated, but you can view the full file.
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
"format register"; | |
System.register("rtts_assert/src/rtts_assert", [], function($__export) { | |
"use strict"; | |
var __moduleName = "rtts_assert/src/rtts_assert"; | |
var _global, | |
POSITION_NAME, | |
primitives, | |
genericType, | |
string, |
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
"format register"; | |
(function() { | |
function define(){}; define.amd = {}; | |
; | |
(function(undefined) { | |
var objectTypes = { | |
'boolean': false, | |
'function': true, | |
'object': true, | |
'number': false, |
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
angular.module('formComponents', []) | |
.directive('formInput', function() { | |
return { | |
restrict: 'E', | |
scope: {}, | |
link: function(scope, element, attrs) | |
{ | |
var type = attrs.type || 'text'; | |
var required = attrs.hasOwnProperty('required') ? "required='required'" : ""; | |
var htmlText = '<div class="control-group">' + |
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
/* | |
*usage: <textarea ui:pagedown-bootstrap ng:model="box.content"></textarea> | |
*/ | |
myApp.directive('uiPagedownBootstrap', function($compile) { | |
var nextId = 0; | |
//Make converter only once to save a bit of load each time | |
var markdownConverter = new Markdown.Converter(); | |
return { | |
require: 'ngModel', | |
replace: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
//Code Snippet from blog post: OAuth with Worklight & Cordova ChildBrowser Plugin, http://wp.me/p2lwuh-2j | |
//Helper function. turn #a=b&b=c to {a:'b', b: 'c'} | |
var parametersFromUrl = function(url) { | |
var result = {}; | |
//Remove everything up to where the parameters start. could be after # or after ? | |
url = url.substr(url.indexOf('?') + 1).substr(url.indexOf('#') + 1) | |
//Replace html escape characters | |
url = url.replace(/%23/g, '#').replace(/%26/g, '&').replace(/%3D/g, '='); |
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
//Code Snippet from blog post: OAuth with Worklight & Cordova ChildBrowser Plugin, http://wp.me/p2lwuh-2j | |
//Helper function. turn #a=b&b=c to {a:'b', b: 'c'} | |
var parametersFromUrl = function(url) { | |
var result = {}; | |
//Remove everything up to where the parameters start. could be after # or after ? | |
url = url.substr(url.indexOf('?') + 1).substr(url.indexOf('#') + 1) | |
//Replace html escape characters | |
url = url.replace(/%23/g, '#').replace(/%26/g, '&').replace(/%3D/g, '='); |
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
module.exports = require('grunt-repo/grunt'); |
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
/* An AngularJS directive to easily paginate any list of items */ | |
/* | |
* The directive exposes a $pager (or other name set by ng-model) object to the view, with these properties | |
* $pager.items : array of current page's items | |
* $pager.index : current page index | |
* $pager.first : boolean, current page is first? | |
* $pager.last : boolean, current page is last? | |
* $pager.group : array of numbers representing current page group (eg [1,2,3,4,5]) | |
* $pager.groupIndex : current group index |
OlderNewer