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
describe('Profile | Clipboard | Finder |', function() { | |
beforeEach(module('profile.clipboard.finder')); | |
beforeEach(module('ui.router')); | |
describe('ClipboardFinderCtrl |', function() { | |
var ctrl, scope, httpBackend, finder; | |
beforeEach(inject(function($rootScope, $controller, Finder, $httpBackend) { | |
scope = $rootScope.$new(); | |
scope.main = {}; |
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
<div ng-controller="ImagesCtrl"> | |
<div class="form-horizontal"> | |
<div style="position: relative;"> | |
<div ng-if="Fabric.isLoading" class="image-loading"> | |
<div class="loading-indicator"></div> | |
</div> | |
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
<?php | |
class PermissionsTest extends PHPUnit_Framework_TestCase | |
{ | |
public $user; | |
public function setUp() | |
{ | |
$this->user = User::create([ | |
'permissions' => '' |
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
'use strict'; | |
angular.module('colorpicker.module', []) | |
.factory('Helper', function () { | |
return { | |
closestSlider: function (elem) { | |
var matchesSelector = elem.matches || elem.webkitMatchesSelector || elem.mozMatchesSelector || elem.msMatchesSelector; | |
if (matchesSelector.bind(elem)('I')) { | |
return elem.parentNode; | |
} |
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
javascript: (function () { var root = $(document.getElementsByTagName('body')); var watchers = []; var f = function (element) { if (element.data().hasOwnProperty('$scope')) { angular.forEach(element.data().$scope.$$watchers, function (watcher) { watchers.push(watcher); }); } angular.forEach(element.children(), function (childElement) { f($(childElement)); }); }; f(root); console.log(watchers.length);})(); |
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
<?php | |
use Aws\S3\S3Client; | |
use Gregwar\Image\Image; | |
use Gregwar\Image\GarbageCollect; | |
class Image_Controller extends Base_Controller | |
{ | |
public function get_index() | |
{ |
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
http://errors.angularjs.org/1.2.6/$injector/modulerr?p0=builders&p1=Error%3A%20%5B%24injector%3Amodulerr%5D%20http%3A%2F%2Ferrors.angularjs.org%2F1.2.6%2F%24injector%2Fmodulerr%3Fp0%3Dmain%26p1%3DError%253A%2520%255B%2524injector%253Amodulerr%255D%2520http%253A%252F%252Ferrors.angularjs.org%252F1.2.6%252F%2524injector%252Fmodulerr%253Fp0%253Darea%2526p1%253DError%25253A%252520%25255B%252524injector%25253Amodulerr%25255D%252520http%25253A%25252F%25252Ferrors.angularjs.org%25252F1.2.6%25252F%252524injector%25252Fmodulerr%25253Fp0%25253Dcards%252526p1%25253DError%2525253A%25252520%2525255B%25252524injector%2525253Amodulerr%2525255D%25252520http%2525253A%2525252F%2525252Ferrors.angularjs.org%2525252F1.2.6%2525252F%25252524injector%2525252Fmodulerr%2525253Fp0%2525253Dcard%25252526p1%2525253DError%252525253A%2525252520%252525255B%2525252524injector%252525253Amodulerr%252525255D%2525252520http%252525253A%252525252F%252525252Ferrors.angularjs.org%252525252F1.2.6%252525252F%2525252524injector%252525252Fmodulerr%252525 |
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
// Reset Zoom | |
self.resetZoom = function() { | |
var objects = canvas.getObjects(); | |
for (var i in objects) { | |
var scaleX = objects[i].scaleX; | |
var scaleY = objects[i].scaleY; | |
var left = objects[i].left; | |
var top = objects[i].top; |
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
/** | |
* http://fabricjs.com/js/kitchensink/controller.js | |
* http://fabricjs.com/js/kitchensink/utils.js | |
* http://fabricjs.com/js/kitchensink/app_config.js | |
* http://fabricjs.com/events/ | |
* view-source:http://fabricjs.com/kitchensink/ | |
*/ | |
(function() { |
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
/** | |
* http://fabricjs.com/js/kitchensink/controller.js | |
* http://fabricjs.com/js/kitchensink/utils.js | |
* http://fabricjs.com/js/kitchensink/app_config.js | |
* http://fabricjs.com/events/ | |
* view-source:http://fabricjs.com/kitchensink/ | |
*/ | |
(function() { |