make sure to install livereload globally on your system! \o/
npm install -g livereload` run livereload in your local directory or run a watch script
livereload = require('livereload'); | (function (module, Chayns, undefined) { | |
| 'use strict'; | |
| module.confirm = function (question, yesCallback, noCallback) { | |
| question = question || ''; | |
| yesCallback = yesCallback || Function.prototype; | |
| noCallback = noCallback || Function.prototype; |
| (function (module, Chayns, undefined) { | |
| 'use strict'; | |
| module.alert = function (message, cb) { | |
| var buttons = [new Chayns.PopUpButton('OK', cb)]; | |
| Chayns.ShowPopUp(message, "", buttons); | |
| }; | |
| })(window.TappProject, Chayns); |
| (function (Chayns, window, undefined) { | |
| 'use strict'; | |
| var lh = window.location.href; | |
| function chooseOS(c) { | |
| var osList = [ | |
| new Chayns.SelectOption('Normal', '', false), |
| var isTouch = 'ontouchstart' in window; |
| var support3d = 'WebKitCSSMatrix' in window || 'MozPerspective' in document.body.style; |
| function getBrowserPrefix( propName ) { | |
| var prefixes = ['Moz','Webkit','ms']; // also O and Khtml | |
| for ( var len = prefixes.length; len--; ) { | |
| if( ( prefixes[len] + 'Transform' ) in document.body.style ) { | |
| return '-' + prefixes[len].toLowerCase() + '-' + propName; | |
| } | |
| } | |
| (function () { | |
| function trusted($sce) { | |
| return function (url) { | |
| return $sce.trustAsResourceUrl(url); | |
| }; | |
| } | |
| trusted.$inject = ['$sce']; |