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
| const regObj = { | |
| accountName: "", | |
| provider: "Facebook", | |
| externalAccessToken: "", | |
| }; | |
| FB.login((response) => { | |
| console.log("statusChangeCallback"); | |
| console.log(response); | |
| regObj.externalAccessToken = response.authResponse.accessToken; |
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
| .rgba(@attr, @color, @opacity) { | |
| @c1: #fff; | |
| @c2: @color; | |
| @{attr}: rgb((1 - @opacity) * red(@c1) + @opacity * red(@c2), (1 - @opacity) * green(@c1) + @opacity * green(@c2), (1 - @opacity) * blue(@c1) + @opacity * blue(@c2)); | |
| } |
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
| root: true | |
| env: | |
| browser: true | |
| node: true | |
| globals: | |
| angular: true | |
| moment: true | |
| gapi: true |
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
| @model Core.Logic.Tables.PagingParameters | |
| <div class="js-paging table-paging"> | |
| <div class="pull-right center-mobile" style="margin-right: 15px;"> | |
| @*@if(Model.PageCount > 1){ | |
| <div class="paginate_input"> | |
| <input type="text" class="form-control paginate_input js-direct"> | |
| </div> | |
| }*@ | |
| <a class="paginate_button previous btn btn-default js-previous">Previous</a> |
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
| var BrowserDetect = | |
| { | |
| init: function () { | |
| this.browser = this.searchString(this.dataBrowser) || 'Other'; | |
| this.version = this.searchVersion(navigator.userAgent) || this.searchVersion(navigator.appVersion) || 'Unknown'; | |
| }, | |
| searchString: function (data) { | |
| for (var i = 0; i < data.length; i++) { | |
| var dataString = data[i].string; |
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
| "[{"value":0,"label":".NET"},{"value":1,"label":"360-degree video"},{"value":2,"label":"3D Animation"},{"value":3,"label":"3D Design"},{"value":4,"label":"3D Modelling"},{"value":5,"label":"3D Printing"},{"value":6,"label":"3D Rendering"},{"value":7,"label":"3ds Max"},{"value":8,"label":"4D"},{"value":9,"label":"Academic Writing"},{"value":10,"label":"Accounting"},{"value":11,"label":"ActionScript"},{"value":12,"label":"Active Directory"},{"value":13,"label":"Ad Planning & Buying"},{"value":14,"label":"Adobe Air"},{"value":15,"label":"Adobe Dreamweaver"},{"value":16,"label":"Adobe Flash"},{"value":17,"label":"Adobe InDesign"},{"value":18,"label":"Adobe Lightroom"},{"value":19,"label":"Adobe LiveCycle Designer"},{"value":20,"label":"Advertisement Design"},{"value":21,"label":"Advertising"},{"value":22,"label":"Aeronautical Engineering"},{"value":23,"label":"Aerospace Engineering"},{"value":24,"label":"Affiliate Marketing"},{"value":25,"label":"Afrikaans"},{"value":26,"label":"After Effects"},{"value":27,"l |
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
| var downloadURL = function (url) { | |
| var hiddenIFrameID = 'hiddenDownloader', | |
| iframe = document.getElementById(hiddenIFrameID); | |
| if (iframe === null) { | |
| iframe = document.createElement('iframe'); | |
| iframe.id = hiddenIFrameID; | |
| iframe.style.display = 'none'; | |
| document.body.appendChild(iframe); | |
| } | |
| iframe.src = url; |
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
| var loadScript = function (resources, callback) { | |
| var | |
| getScript = function (path) { | |
| var s = document.createElement('script'); | |
| s.setAttribute('src', path); | |
| s.onload = handler; | |
| document.body.appendChild(s); | |
| console.log(path + " loaded"); | |
| }, | |
| length = resources.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
| function addCSSRule(sheet, selector, rules, index) { | |
| if(sheet.insertRule) { | |
| sheet.insertRule(selector + "{" + rules + "}", index); | |
| } | |
| else { | |
| sheet.addRule(selector, rules, index); | |
| } | |
| } | |
| addCSSRule(document.styleSheets[0], "header", "float: left"); |