bramstein / jsizes Goto Github PK
View Code? Open in Web Editor NEWjQuery CSS size properties plugin
Home Page: http://www.bramstein.com/projects/jsizes/
License: Other
jQuery CSS size properties plugin
Home Page: http://www.bramstein.com/projects/jsizes/
License: Other
Hi @bramstein,
Would you consider adding a license to the repository? It's currently missing one and according to TOS:
[Not posting a license] means that you retain all rights to your source code and that nobody else may reproduce, distribute, or create derivative works from your work. This might not be what you intend.
Even if this is what you intend, if you publish your source code in a public repository on GitHub, you have accepted the Terms of Service which do allow other GitHub users some rights. Specifically, you allow others to view and fork your repository.
If you want to share your work with others, we strongly encourage you to include an open source license.
If you don't intend on putting a license up that's fine, but if you do want to use an open source license please do so. I'd be happy to fork/PR for you if you just let me know which license you want to put in (MIT/BSD/Apache/etc.)
Thanks!
As-salamu-alikum
I am using jquery.sizes with RequireJs. My config file is as follows
requirejs.config({
baseUrl: "assets/js/",
paths: {
"jquery" : "lib/jquery/jquery",
"jqui" : "lib/jquery/jquery-ui-1.10.4",
"jlayout" : "lib/jquery/jquery.jlayout",
"jlayout.border" : "lib/jquery/jlayout.border",
"jquery.sizes" : "lib/jquery/jquery.sizes",
"backbone" : "lib/marionette/backbone",
"json2" : "lib/json2/json2",
"backbone.radio" : "lib/marionette/backbone.radio",
"backbone.marionette" : "lib/marionette/backbone.marionette",
"marionette.toolkit" : "lib/marionette/marionette.toolkit",
"underscore" : "lib/underscore/underscore",
"tpl" : "lib/tpl/tpl"
},
waitSeconds: 20,
map: {
"*": {
jq :"jquery",
bb :"backbone",
bbr :"backbone.radio",
mt :"backbone.marionette",
jl :"jlayout" ,
jlb :"jlayout.border",
jqs :"jquery.sizes",
js2 :"json2",
tk :"marionette.toolkit",
us :"underscore"
}
},
shim: {
"jqui":{
deps: ['jq']
},
"jl":{
deps: ['jq']
},
"jqs":{
deps: ['jq']
},
"jlb":{
deps: ['jq']
},
"us": {
exports: "_"
},
"bb": {
exports: ["Backbone"],
deps: ['jq','us','js2']
},
"bbr":{
exports: ["Radio"],
deps: ["bb"]
},
"mt": {
exports: "Marionette",
deps: ["bb","bbr"]
},
"tk": {
exports: "Toolkit",
deps: ["mt"]
}
},
deps: ['app/main']
});
I am getting the following error
Uncaught ReferenceError: jQuery is not defined
at jquery.sizes.js:77
Please help me to fix the problem.
Zazakllah khair for reading.
Nadvi
I'm new to JQuery, so this might be trivial, but I attempted to use the .padding().top values and received the following error:
Uncaught TypeError: Cannot use 'in' operator to search for 'paddingTop' in undefined jquery-2.0.3.min.js:5
At jquery-2.0.3.min.js:5
x.extend.css jquery-2.0.3.min.js:5
(anonymous function) jquery-2.0.3.min.js:5
x.extend.access jquery-2.0.3.min.js:4
x.fn.extend.css jquery-2.0.3.min.js:5
$.fn.(anonymous function) jquery.sizes.js:70
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.