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
<html ng-app> | |
<head> | |
<script src='https://ajax.googleapis.com/ajax/libs/angularjs/1.0.7/angular.min.js'></script> | |
</head> | |
<body> | |
{{"hello"+" world"}} | |
</body> | |
</html> |
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
<!DOCTYPE html> | |
#parse ($init) | |
<html class="$root_css_class" dir="#language ("lang.dir")" lang="$w3c_language_id"> | |
<head> | |
<title>$the_title - $company_name</title> | |
<meta content="initial-scale=1.0, width=device-width" name="viewport" /> |
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
## ---------- Common variables ---------- ## | |
#set ($theme_display = $themeDisplay) | |
#set ($portlet_display = $portletDisplay) | |
#set ($theme_timestamp = $themeDisplay.getTheme().getTimestamp()) | |
#set ($theme_settings = $themeDisplay.getThemeSettings()) | |
#set ($root_css_class = "aui " + $languageUtil.get($locale, "lang.dir")) | |
#set ($css_class = $theme_display.getColorScheme().getCssClass() + " yui3-skin-sam") |
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
AUI().ready( | |
'liferay-store', | |
function(A) { | |
Liferay.Store.set('cssClass', 'sample'); | |
console.log(Liferay.Store.get('cssClass')); | |
} | |
); |
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
function FirstCtrl($scope){ | |
$scope.data = {message: "Hello"}; | |
} |
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
/* | |
AngularJS v1.2.0 | |
(c) 2010-2012 Google, Inc. http://angularjs.org | |
License: MIT | |
*/ | |
(function(W,O,s){'use strict';function L(b){return function(){var a=arguments[0],c,a="["+(b?b+":":"")+a+"] http://errors.angularjs.org/undefined/"+(b?b+"/":"")+a;for(c=1;c<arguments.length;c++)a=a+(1==c?"?":"&")+"p"+(c-1)+"="+encodeURIComponent("function"==typeof arguments[c]?arguments[c].toString().replace(/ \{[\s\S]*$/,""):"undefined"==typeof arguments[c]?"undefined":"string"!=typeof arguments[c]?JSON.stringify(arguments[c]):arguments[c]);return Error(a)}}function pb(b){if(null==b||ya(b))return!1; | |
var a=b.length;return 1===b.nodeType&&a?!0:D(b)||J(b)||0===a||"number"===typeof a&&0<a&&a-1 in b}function q(b,a,c){var d;if(b)if(B(b))for(d in b)"prototype"!=d&&("length"!=d&&"name"!=d&&b.hasOwnProperty(d))&&a.call(c,b[d],d);else if(b.forEach&&b.forEach!==q)b.forEach(a,c);else if(pb(b))for(d=0;d<b.length;d++)a.call(c,b[d],d);else for(d in b)b.hasOwnProperty(d)&&a.call(c,b[d],d);return b}function Nb(b){var a=[],c;for(c in b)b.has |
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
Color Scheme: $colorScheme | |
Company: $company | |
Layout: $layout | |
Layout Type Portlet: $layoutTypePortlet | |
Locale: $locale | |
Plid: $plid | |
Portlet Display: $portletDisplay | |
Portlet Group Id: $portletGroupId | |
Real User: $realUser | |
Request: $request |
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
<%-- | |
/** | |
* Copyright (c) 2000-2013 Liferay, Inc. All rights reserved. | |
* | |
* The contents of this file are subject to the terms of the Liferay Enterprise | |
* Subscription License ("License"). You may not use this file except in | |
* compliance with the License. You can obtain a copy of the License by | |
* contacting Liferay, Inc. See the License for the specific language governing | |
* permissions and limitations under the License, including but not limited to | |
* distribution rights of the Software. |
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
AUI.add( | |
'liferay-navigation-interaction-click', | |
function(A) { | |
A.mix( | |
Liferay.NavigationInteraction.prototype, | |
{ | |
_initChildMenuHandlers: function(navigation) { | |
var instance = this; | |
if (navigation) { |
OlderNewer